@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigurationDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes the parameters of a VPC used by the application.
Constructor and Description |
---|
VpcConfigurationDescription() |
Modifier and Type | Method and Description |
---|---|
VpcConfigurationDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The array of SecurityGroup IDs used
by the VPC configuration.
|
List<String> |
getSubnetIds()
The array of Subnet IDs used
by the VPC configuration.
|
String |
getVpcConfigurationId()
The ID of the VPC configuration.
|
String |
getVpcId()
The ID of the associated VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
void |
setSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
void |
setVpcConfigurationId(String vpcConfigurationId)
The ID of the VPC configuration.
|
void |
setVpcId(String vpcId)
The ID of the associated VPC.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfigurationDescription |
withSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
VpcConfigurationDescription |
withSecurityGroupIds(String... securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
VpcConfigurationDescription |
withSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
VpcConfigurationDescription |
withSubnetIds(String... subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
VpcConfigurationDescription |
withVpcConfigurationId(String vpcConfigurationId)
The ID of the VPC configuration.
|
VpcConfigurationDescription |
withVpcId(String vpcId)
The ID of the associated VPC.
|
public void setVpcConfigurationId(String vpcConfigurationId)
The ID of the VPC configuration.
vpcConfigurationId
- The ID of the VPC configuration.public String getVpcConfigurationId()
The ID of the VPC configuration.
public VpcConfigurationDescription withVpcConfigurationId(String vpcConfigurationId)
The ID of the VPC configuration.
vpcConfigurationId
- The ID of the VPC configuration.public void setVpcId(String vpcId)
The ID of the associated VPC.
vpcId
- The ID of the associated VPC.public String getVpcId()
The ID of the associated VPC.
public VpcConfigurationDescription withVpcId(String vpcId)
The ID of the associated VPC.
vpcId
- The ID of the associated VPC.public List<String> getSubnetIds()
The array of Subnet IDs used by the VPC configuration.
public void setSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used by the VPC configuration.
subnetIds
- The array of Subnet
IDs used by the VPC configuration.public VpcConfigurationDescription withSubnetIds(String... subnetIds)
The array of Subnet IDs used by the VPC configuration.
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 array of Subnet
IDs used by the VPC configuration.public VpcConfigurationDescription withSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used by the VPC configuration.
subnetIds
- The array of Subnet
IDs used by the VPC configuration.public List<String> getSecurityGroupIds()
The array of SecurityGroup IDs used by the VPC configuration.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
securityGroupIds
- The array of SecurityGroup IDs
used by the VPC configuration.public VpcConfigurationDescription withSecurityGroupIds(String... securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
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 array of SecurityGroup IDs
used by the VPC configuration.public VpcConfigurationDescription withSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
securityGroupIds
- The array of SecurityGroup IDs
used by the VPC configuration.public String toString()
toString
in class Object
Object.toString()
public VpcConfigurationDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.