@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The network configuration for customer VPC connectivity.
| Constructor and Description |
|---|
NetworkConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NetworkConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The array of security group Ids for customer VPC connectivity.
|
List<String> |
getSubnetIds()
The array of subnet Ids for customer VPC connectivity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The array of security group Ids for customer VPC connectivity.
|
void |
setSubnetIds(Collection<String> subnetIds)
The array of subnet Ids for customer VPC connectivity.
|
String |
toString()
Returns a string representation of this object.
|
NetworkConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
The array of security group Ids for customer VPC connectivity.
|
NetworkConfiguration |
withSecurityGroupIds(String... securityGroupIds)
The array of security group Ids for customer VPC connectivity.
|
NetworkConfiguration |
withSubnetIds(Collection<String> subnetIds)
The array of subnet Ids for customer VPC connectivity.
|
NetworkConfiguration |
withSubnetIds(String... subnetIds)
The array of subnet Ids for customer VPC connectivity.
|
public List<String> getSubnetIds()
The array of subnet Ids for customer VPC connectivity.
public void setSubnetIds(Collection<String> subnetIds)
The array of subnet Ids for customer VPC connectivity.
subnetIds - The array of subnet Ids for customer VPC connectivity.public NetworkConfiguration withSubnetIds(String... subnetIds)
The array of subnet Ids for customer VPC connectivity.
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 for customer VPC connectivity.public NetworkConfiguration withSubnetIds(Collection<String> subnetIds)
The array of subnet Ids for customer VPC connectivity.
subnetIds - The array of subnet Ids for customer VPC connectivity.public List<String> getSecurityGroupIds()
The array of security group Ids for customer VPC connectivity.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The array of security group Ids for customer VPC connectivity.
securityGroupIds - The array of security group Ids for customer VPC connectivity.public NetworkConfiguration withSecurityGroupIds(String... securityGroupIds)
The array of security group Ids for customer VPC connectivity.
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 security group Ids for customer VPC connectivity.public NetworkConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
The array of security group Ids for customer VPC connectivity.
securityGroupIds - The array of security group Ids for customer VPC connectivity.public String toString()
toString in class ObjectObject.toString()public NetworkConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.