@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the Amazon VPCs for the cluster.
Constructor and Description |
---|
VpcConfig() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The IDs of the security groups associated with the cluster.
|
List<String> |
getSubnetIds()
The IDs of the subnets associated with the cluster.
|
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 associated with the cluster.
|
void |
setSubnetIds(Collection<String> subnetIds)
The IDs of the subnets associated with the cluster.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups associated with the cluster.
|
VpcConfig |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups associated with the cluster.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets associated with the cluster.
|
VpcConfig |
withSubnetIds(String... subnetIds)
The IDs of the subnets associated with the cluster.
|
public List<String> getSubnetIds()
The IDs of the subnets associated with the cluster.
The IDs of the subnets associated with the cluster.
public void setSubnetIds(Collection<String> subnetIds)
The IDs of the subnets associated with the cluster.
subnetIds
- The IDs of the subnets associated with the cluster.
public VpcConfig withSubnetIds(String... subnetIds)
The IDs of the subnets associated with the cluster.
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 associated with the cluster.
public VpcConfig withSubnetIds(Collection<String> subnetIds)
The IDs of the subnets associated with the cluster.
subnetIds
- The IDs of the subnets associated with the cluster.
public List<String> getSecurityGroupIds()
The IDs of the security groups associated with the cluster.
The IDs of the security groups associated with the cluster.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups associated with the cluster.
securityGroupIds
- The IDs of the security groups associated with the cluster.
public VpcConfig withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups associated with the cluster.
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 associated with the cluster.
public VpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups associated with the cluster.
securityGroupIds
- The IDs of the security groups associated with the cluster.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.