@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
Constructor and Description |
---|
VpcConfig() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The ID number for a security group on an instance of your private VPC.
|
List<String> |
getSubnets()
The ID for each subnet being used in your private VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The ID number for a security group on an instance of your private VPC.
|
void |
setSubnets(Collection<String> subnets)
The ID for each subnet being used in your private VPC.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
The ID number for a security group on an instance of your private VPC.
|
VpcConfig |
withSecurityGroupIds(String... securityGroupIds)
The ID number for a security group on an instance of your private VPC.
|
VpcConfig |
withSubnets(Collection<String> subnets)
The ID for each subnet being used in your private VPC.
|
VpcConfig |
withSubnets(String... subnets)
The ID for each subnet being used in your private VPC.
|
public List<String> getSecurityGroupIds()
The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.
securityGroupIds
- The ID number for a security group on an instance of your private VPC. Security groups on your VPC
function serve as a virtual firewall to control inbound and outbound traffic and provides security for the
resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance:
"sg-03b388029b0a285ea". For more information, see Security Groups for your
VPC.public VpcConfig withSecurityGroupIds(String... securityGroupIds)
The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your 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
- The ID number for a security group on an instance of your private VPC. Security groups on your VPC
function serve as a virtual firewall to control inbound and outbound traffic and provides security for the
resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance:
"sg-03b388029b0a285ea". For more information, see Security Groups for your
VPC.public VpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.
securityGroupIds
- The ID number for a security group on an instance of your private VPC. Security groups on your VPC
function serve as a virtual firewall to control inbound and outbound traffic and provides security for the
resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance:
"sg-03b388029b0a285ea". For more information, see Security Groups for your
VPC.public List<String> getSubnets()
The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.
public void setSubnets(Collection<String> subnets)
The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.
subnets
- The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4
addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number
is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.public VpcConfig withSubnets(String... subnets)
The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.
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
- The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4
addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number
is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.public VpcConfig withSubnets(Collection<String> subnets)
The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.
subnets
- The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4
addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number
is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.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.