@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputVpcRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
InputVpcRequest() |
Modifier and Type | Method and Description |
---|---|
InputVpcRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
|
List<String> |
getSubnetIds()
A list of 2 VPC subnet IDs from the same VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of 2 VPC subnet IDs from the same VPC.
|
String |
toString()
Returns a string representation of this object.
|
InputVpcRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
|
InputVpcRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
|
InputVpcRequest |
withSubnetIds(Collection<String> subnetIds)
A list of 2 VPC subnet IDs from the same VPC.
|
InputVpcRequest |
withSubnetIds(String... subnetIds)
A list of 2 VPC subnet IDs from the same VPC.
|
public List<String> getSecurityGroupIds()
public void setSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces. Requires
subnetIds. If none are specified then the VPC default security group will be used.public InputVpcRequest withSecurityGroupIds(String... securityGroupIds)
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 up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces. Requires
subnetIds. If none are specified then the VPC default security group will be used.public InputVpcRequest withSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces. Requires
subnetIds. If none are specified then the VPC default security group will be used.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- A list of 2 VPC subnet IDs from the same VPC. Subnet IDs must be mapped to two unique availability zones
(AZ).public InputVpcRequest withSubnetIds(String... subnetIds)
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 2 VPC subnet IDs from the same VPC. Subnet IDs must be mapped to two unique availability zones
(AZ).public InputVpcRequest withSubnetIds(Collection<String> subnetIds)
subnetIds
- A list of 2 VPC subnet IDs from the same VPC. Subnet IDs must be mapped to two unique availability zones
(AZ).public String toString()
toString
in class Object
Object.toString()
public InputVpcRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.