@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigInput 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 |
---|
VpcConfigInput() |
Modifier and Type | Method and Description |
---|---|
VpcConfigInput |
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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfigInput |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups for this canary.
|
VpcConfigInput |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups for this canary.
|
VpcConfigInput |
withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets where this canary is to run.
|
VpcConfigInput |
withSubnetIds(String... subnetIds)
The IDs of the subnets 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 VpcConfigInput 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 VpcConfigInput 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 VpcConfigInput 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 VpcConfigInput 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 VpcConfigInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.