@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestGridVpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
The VPC security groups and subnets that are attached to a project.
Constructor and Description |
---|
TestGridVpcConfig() |
Modifier and Type | Method and Description |
---|---|
TestGridVpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of VPC security group IDs in your Amazon VPC.
|
List<String> |
getSubnetIds()
A list of VPC subnet IDs in your Amazon VPC.
|
String |
getVpcId()
The ID of the Amazon VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
|
void |
setVpcId(String vpcId)
The ID of the Amazon VPC.
|
String |
toString()
Returns a string representation of this object.
|
TestGridVpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
|
TestGridVpcConfig |
withSecurityGroupIds(String... securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
|
TestGridVpcConfig |
withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
|
TestGridVpcConfig |
withSubnetIds(String... subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
|
TestGridVpcConfig |
withVpcId(String vpcId)
The ID of the Amazon VPC.
|
public List<String> getSecurityGroupIds()
A list of VPC security group IDs in your Amazon VPC.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
securityGroupIds
- A list of VPC security group IDs in your Amazon VPC.public TestGridVpcConfig withSecurityGroupIds(String... securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
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
- A list of VPC security group IDs in your Amazon VPC.public TestGridVpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs in your Amazon VPC.
securityGroupIds
- A list of VPC security group IDs in your Amazon VPC.public List<String> getSubnetIds()
A list of VPC subnet IDs in your Amazon VPC.
public void setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
subnetIds
- A list of VPC subnet IDs in your Amazon VPC.public TestGridVpcConfig withSubnetIds(String... subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
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
- A list of VPC subnet IDs in your Amazon VPC.public TestGridVpcConfig withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs in your Amazon VPC.
subnetIds
- A list of VPC subnet IDs in your Amazon VPC.public void setVpcId(String vpcId)
The ID of the Amazon VPC.
vpcId
- The ID of the Amazon VPC.public String getVpcId()
The ID of the Amazon VPC.
public TestGridVpcConfig withVpcId(String vpcId)
The ID of the Amazon VPC.
vpcId
- The ID of the Amazon VPC.public String toString()
toString
in class Object
Object.toString()
public TestGridVpcConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.