@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcDescription extends Object implements Serializable, Cloneable, StructuredPojo
The description of the VPC in which the connector resides.
Constructor and Description |
---|
VpcDescription() |
Modifier and Type | Method and Description |
---|---|
VpcDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroups()
The security groups for the connector.
|
List<String> |
getSubnets()
The subnets for the connector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups for the connector.
|
void |
setSubnets(Collection<String> subnets)
The subnets for the connector.
|
String |
toString()
Returns a string representation of this object.
|
VpcDescription |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the connector.
|
VpcDescription |
withSecurityGroups(String... securityGroups)
The security groups for the connector.
|
VpcDescription |
withSubnets(Collection<String> subnets)
The subnets for the connector.
|
VpcDescription |
withSubnets(String... subnets)
The subnets for the connector.
|
public List<String> getSecurityGroups()
The security groups for the connector.
public void setSecurityGroups(Collection<String> securityGroups)
The security groups for the connector.
securityGroups
- The security groups for the connector.public VpcDescription withSecurityGroups(String... securityGroups)
The security groups for the connector.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The security groups for the connector.public VpcDescription withSecurityGroups(Collection<String> securityGroups)
The security groups for the connector.
securityGroups
- The security groups for the connector.public List<String> getSubnets()
The subnets for the connector.
public void setSubnets(Collection<String> subnets)
The subnets for the connector.
subnets
- The subnets for the connector.public VpcDescription withSubnets(String... subnets)
The subnets for the connector.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The subnets for the connector.public VpcDescription withSubnets(Collection<String> subnets)
The subnets for the connector.
subnets
- The subnets for the connector.public String toString()
toString
in class Object
Object.toString()
public VpcDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.