@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigOutput extends Object implements Serializable, Cloneable, StructuredPojo
If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.
Constructor and Description |
---|
VpcConfigOutput() |
Modifier and Type | Method and Description |
---|---|
VpcConfigOutput |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The IDs of the security groups for this canary.
|
List<String> |
getSubnetIds()
The IDs of the subnets where this canary is to run.
|
String |
getVpcId()
The IDs of the VPC where this canary is to run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups for this canary.
|
void |
setSubnetIds(Collection<String> subnetIds)
The IDs of the subnets where this canary is to run.
|
void |
setVpcId(String vpcId)
The IDs of the VPC where this canary is to run.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfigOutput |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups for this canary.
|
VpcConfigOutput |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups for this canary.
|
VpcConfigOutput |
withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets where this canary is to run.
|
VpcConfigOutput |
withSubnetIds(String... subnetIds)
The IDs of the subnets where this canary is to run.
|
VpcConfigOutput |
withVpcId(String vpcId)
The IDs of the VPC where this canary is to run.
|
public void setVpcId(String vpcId)
The IDs of the VPC where this canary is to run.
vpcId
- The IDs of the VPC where this canary is to run.public String getVpcId()
The IDs of the VPC where this canary is to run.
public VpcConfigOutput withVpcId(String vpcId)
The IDs of the VPC where this canary is to run.
vpcId
- The IDs of the VPC where this canary is to run.public List<String> getSubnetIds()
The IDs of the subnets where this canary is to run.
public void setSubnetIds(Collection<String> subnetIds)
The IDs of the subnets where this canary is to run.
subnetIds
- The IDs of the subnets where this canary is to run.public VpcConfigOutput withSubnetIds(String... subnetIds)
The IDs of the subnets where this canary is to run.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The IDs of the subnets where this canary is to run.public VpcConfigOutput withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets where this canary is to run.
subnetIds
- The IDs of the subnets where this canary is to run.public List<String> getSecurityGroupIds()
The IDs of the security groups for this canary.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups for this canary.
securityGroupIds
- The IDs of the security groups for this canary.public VpcConfigOutput withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups for this canary.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The IDs of the security groups for this canary.public VpcConfigOutput withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups for this canary.
securityGroupIds
- The IDs of the security groups for this canary.public String toString()
toString
in class Object
Object.toString()
public VpcConfigOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.