@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVPCConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVPCConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVPCConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
|
List<String> |
getDnsResolvers()
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
String |
getName()
The display name for the VPC connection.
|
String |
getRoleArn()
The IAM role to associate with the VPC connection.
|
List<String> |
getSecurityGroupIds()
A list of security group IDs for the VPC connection.
|
List<String> |
getSubnetIds()
A list of subnet IDs for the VPC connection.
|
List<Tag> |
getTags()
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
|
String |
getVPCConnectionId()
The ID of the VPC connection that you're creating.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
|
void |
setDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
void |
setName(String name)
The display name for the VPC connection.
|
void |
setRoleArn(String roleArn)
The IAM role to associate with the VPC connection.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC connection.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the VPC connection.
|
void |
setTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
|
void |
setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating.
|
String |
toString()
Returns a string representation of this object.
|
CreateVPCConnectionRequest |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
|
CreateVPCConnectionRequest |
withDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
CreateVPCConnectionRequest |
withDnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
CreateVPCConnectionRequest |
withName(String name)
The display name for the VPC connection.
|
CreateVPCConnectionRequest |
withRoleArn(String roleArn)
The IAM role to associate with the VPC connection.
|
CreateVPCConnectionRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC connection.
|
CreateVPCConnectionRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC connection.
|
CreateVPCConnectionRequest |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the VPC connection.
|
CreateVPCConnectionRequest |
withSubnetIds(String... subnetIds)
A list of subnet IDs for the VPC connection.
|
CreateVPCConnectionRequest |
withTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
|
CreateVPCConnectionRequest |
withTags(Tag... tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
|
CreateVPCConnectionRequest |
withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
awsAccountId
- The Amazon Web Services account ID of the account where you want to create a new VPC connection.public String getAwsAccountId()
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
public CreateVPCConnectionRequest withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
awsAccountId
- The Amazon Web Services account ID of the account where you want to create a new VPC connection.public void setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
vPCConnectionId
- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web
Services Region in an Amazon Web Services account.public String getVPCConnectionId()
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
public CreateVPCConnectionRequest withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
vPCConnectionId
- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web
Services Region in an Amazon Web Services account.public void setName(String name)
The display name for the VPC connection.
name
- The display name for the VPC connection.public String getName()
The display name for the VPC connection.
public CreateVPCConnectionRequest withName(String name)
The display name for the VPC connection.
name
- The display name for the VPC connection.public List<String> getSubnetIds()
A list of subnet IDs for the VPC connection.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the VPC connection.
subnetIds
- A list of subnet IDs for the VPC connection.public CreateVPCConnectionRequest withSubnetIds(String... subnetIds)
A list of subnet IDs for the VPC connection.
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 subnet IDs for the VPC connection.public CreateVPCConnectionRequest withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the VPC connection.
subnetIds
- A list of subnet IDs for the VPC connection.public List<String> getSecurityGroupIds()
A list of security group IDs for the VPC connection.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC connection.
securityGroupIds
- A list of security group IDs for the VPC connection.public CreateVPCConnectionRequest withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC connection.
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 security group IDs for the VPC connection.public CreateVPCConnectionRequest withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC connection.
securityGroupIds
- A list of security group IDs for the VPC connection.public List<String> getDnsResolvers()
A list of IP addresses of DNS resolver endpoints for the VPC connection.
public void setDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public CreateVPCConnectionRequest withDnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
NOTE: This method appends the values to the existing list (if any). Use
setDnsResolvers(java.util.Collection)
or withDnsResolvers(java.util.Collection)
if you want to
override the existing values.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public CreateVPCConnectionRequest withDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
dnsResolvers
- A list of IP addresses of DNS resolver endpoints for the VPC connection.public void setRoleArn(String roleArn)
The IAM role to associate with the VPC connection.
roleArn
- The IAM role to associate with the VPC connection.public String getRoleArn()
The IAM role to associate with the VPC connection.
public CreateVPCConnectionRequest withRoleArn(String roleArn)
The IAM role to associate with the VPC connection.
roleArn
- The IAM role to associate with the VPC connection.public List<Tag> getTags()
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
public void setTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
tags
- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.public CreateVPCConnectionRequest withTags(Tag... tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.public CreateVPCConnectionRequest withTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
tags
- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.public String toString()
toString
in class Object
Object.toString()
public CreateVPCConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()