@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVPCConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateVPCConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateVPCConnectionRequest |
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 that contains the VPC connection that you want to update.
|
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()
An IAM role associated 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.
|
String |
getVPCConnectionId()
The ID of the VPC connection that you're updating.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
|
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)
An IAM role associated 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 |
setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're updating.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVPCConnectionRequest |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
|
UpdateVPCConnectionRequest |
withDnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
UpdateVPCConnectionRequest |
withDnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
|
UpdateVPCConnectionRequest |
withName(String name)
The display name for the VPC connection.
|
UpdateVPCConnectionRequest |
withRoleArn(String roleArn)
An IAM role associated with the VPC connection.
|
UpdateVPCConnectionRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC connection.
|
UpdateVPCConnectionRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC connection.
|
UpdateVPCConnectionRequest |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs for the VPC connection.
|
UpdateVPCConnectionRequest |
withSubnetIds(String... subnetIds)
A list of subnet IDs for the VPC connection.
|
UpdateVPCConnectionRequest |
withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're updating.
|
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 that contains the VPC connection that you want to update.
awsAccountId
- The Amazon Web Services account ID of the account that contains the VPC connection that you want to
update.public String getAwsAccountId()
The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
public UpdateVPCConnectionRequest withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID of the account that contains the VPC connection that you want to update.
awsAccountId
- The Amazon Web Services account ID of the account that contains the VPC connection that you want to
update.public void setVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're updating. 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 updating. 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 updating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
public UpdateVPCConnectionRequest withVPCConnectionId(String vPCConnectionId)
The ID of the VPC connection that you're updating. 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 updating. 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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 UpdateVPCConnectionRequest 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)
An IAM role associated with the VPC connection.
roleArn
- An IAM role associated with the VPC connection.public String getRoleArn()
An IAM role associated with the VPC connection.
public UpdateVPCConnectionRequest withRoleArn(String roleArn)
An IAM role associated with the VPC connection.
roleArn
- An IAM role associated with the VPC connection.public String toString()
toString
in class Object
Object.toString()
public UpdateVPCConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()