@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VPCConfigResponse extends Object implements Serializable, Cloneable, StructuredPojo
VPC configuration associated with your simulation job.
Constructor and Description |
---|
VPCConfigResponse() |
Modifier and Type | Method and Description |
---|---|
VPCConfigResponse |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAssignPublicIp()
A boolean indicating if a public IP was assigned.
|
List<String> |
getSecurityGroups()
A list of security group IDs associated with the simulation job.
|
List<String> |
getSubnets()
A list of subnet IDs associated with the simulation job.
|
String |
getVpcId()
The VPC ID associated with your simulation job.
|
int |
hashCode() |
Boolean |
isAssignPublicIp()
A boolean indicating if a public IP was assigned.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssignPublicIp(Boolean assignPublicIp)
A boolean indicating if a public IP was assigned.
|
void |
setSecurityGroups(Collection<String> securityGroups)
A list of security group IDs associated with the simulation job.
|
void |
setSubnets(Collection<String> subnets)
A list of subnet IDs associated with the simulation job.
|
void |
setVpcId(String vpcId)
The VPC ID associated with your simulation job.
|
String |
toString()
Returns a string representation of this object.
|
VPCConfigResponse |
withAssignPublicIp(Boolean assignPublicIp)
A boolean indicating if a public IP was assigned.
|
VPCConfigResponse |
withSecurityGroups(Collection<String> securityGroups)
A list of security group IDs associated with the simulation job.
|
VPCConfigResponse |
withSecurityGroups(String... securityGroups)
A list of security group IDs associated with the simulation job.
|
VPCConfigResponse |
withSubnets(Collection<String> subnets)
A list of subnet IDs associated with the simulation job.
|
VPCConfigResponse |
withSubnets(String... subnets)
A list of subnet IDs associated with the simulation job.
|
VPCConfigResponse |
withVpcId(String vpcId)
The VPC ID associated with your simulation job.
|
public List<String> getSubnets()
A list of subnet IDs associated with the simulation job.
public void setSubnets(Collection<String> subnets)
A list of subnet IDs associated with the simulation job.
subnets
- A list of subnet IDs associated with the simulation job.public VPCConfigResponse withSubnets(String... subnets)
A list of subnet IDs associated with the simulation job.
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
- A list of subnet IDs associated with the simulation job.public VPCConfigResponse withSubnets(Collection<String> subnets)
A list of subnet IDs associated with the simulation job.
subnets
- A list of subnet IDs associated with the simulation job.public List<String> getSecurityGroups()
A list of security group IDs associated with the simulation job.
public void setSecurityGroups(Collection<String> securityGroups)
A list of security group IDs associated with the simulation job.
securityGroups
- A list of security group IDs associated with the simulation job.public VPCConfigResponse withSecurityGroups(String... securityGroups)
A list of security group IDs associated with the simulation job.
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
- A list of security group IDs associated with the simulation job.public VPCConfigResponse withSecurityGroups(Collection<String> securityGroups)
A list of security group IDs associated with the simulation job.
securityGroups
- A list of security group IDs associated with the simulation job.public void setVpcId(String vpcId)
The VPC ID associated with your simulation job.
vpcId
- The VPC ID associated with your simulation job.public String getVpcId()
The VPC ID associated with your simulation job.
public VPCConfigResponse withVpcId(String vpcId)
The VPC ID associated with your simulation job.
vpcId
- The VPC ID associated with your simulation job.public void setAssignPublicIp(Boolean assignPublicIp)
A boolean indicating if a public IP was assigned.
assignPublicIp
- A boolean indicating if a public IP was assigned.public Boolean getAssignPublicIp()
A boolean indicating if a public IP was assigned.
public VPCConfigResponse withAssignPublicIp(Boolean assignPublicIp)
A boolean indicating if a public IP was assigned.
assignPublicIp
- A boolean indicating if a public IP was assigned.public Boolean isAssignPublicIp()
A boolean indicating if a public IP was assigned.
public String toString()
toString
in class Object
Object.toString()
public VPCConfigResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.