@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateVpcConnectionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateVpcConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthentication()
The authentication type of VPC connection.
|
List<String> |
getClientSubnets()
The list of client subnets.
|
List<String> |
getSecurityGroups()
The list of security groups.
|
Map<String,String> |
getTags()
A map of tags for the VPC connection.
|
String |
getTargetClusterArn()
The cluster Amazon Resource Name (ARN) for the VPC connection.
|
String |
getVpcId()
The VPC ID of VPC connection.
|
int |
hashCode() |
void |
setAuthentication(String authentication)
The authentication type of VPC connection.
|
void |
setClientSubnets(Collection<String> clientSubnets)
The list of client subnets.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The list of security groups.
|
void |
setTags(Map<String,String> tags)
A map of tags for the VPC connection.
|
void |
setTargetClusterArn(String targetClusterArn)
The cluster Amazon Resource Name (ARN) for the VPC connection.
|
void |
setVpcId(String vpcId)
The VPC ID of VPC connection.
|
String |
toString()
Returns a string representation of this object.
|
CreateVpcConnectionRequest |
withAuthentication(String authentication)
The authentication type of VPC connection.
|
CreateVpcConnectionRequest |
withClientSubnets(Collection<String> clientSubnets)
The list of client subnets.
|
CreateVpcConnectionRequest |
withClientSubnets(String... clientSubnets)
The list of client subnets.
|
CreateVpcConnectionRequest |
withSecurityGroups(Collection<String> securityGroups)
The list of security groups.
|
CreateVpcConnectionRequest |
withSecurityGroups(String... securityGroups)
The list of security groups.
|
CreateVpcConnectionRequest |
withTags(Map<String,String> tags)
A map of tags for the VPC connection.
|
CreateVpcConnectionRequest |
withTargetClusterArn(String targetClusterArn)
The cluster Amazon Resource Name (ARN) for the VPC connection.
|
CreateVpcConnectionRequest |
withVpcId(String vpcId)
The VPC ID of VPC connection.
|
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 setTargetClusterArn(String targetClusterArn)
The cluster Amazon Resource Name (ARN) for the VPC connection.
targetClusterArn
- The cluster Amazon Resource Name (ARN) for the VPC connection.
public String getTargetClusterArn()
The cluster Amazon Resource Name (ARN) for the VPC connection.
The cluster Amazon Resource Name (ARN) for the VPC connection.
public CreateVpcConnectionRequest withTargetClusterArn(String targetClusterArn)
The cluster Amazon Resource Name (ARN) for the VPC connection.
targetClusterArn
- The cluster Amazon Resource Name (ARN) for the VPC connection.
public void setAuthentication(String authentication)
The authentication type of VPC connection.
authentication
- The authentication type of VPC connection.
public String getAuthentication()
The authentication type of VPC connection.
The authentication type of VPC connection.
public CreateVpcConnectionRequest withAuthentication(String authentication)
The authentication type of VPC connection.
authentication
- The authentication type of VPC connection.
public void setVpcId(String vpcId)
The VPC ID of VPC connection.
vpcId
- The VPC ID of VPC connection.
public String getVpcId()
The VPC ID of VPC connection.
The VPC ID of VPC connection.
public CreateVpcConnectionRequest withVpcId(String vpcId)
The VPC ID of VPC connection.
vpcId
- The VPC ID of VPC connection.
public List<String> getClientSubnets()
The list of client subnets.
The list of client subnets.
public void setClientSubnets(Collection<String> clientSubnets)
The list of client subnets.
clientSubnets
- The list of client subnets.
public CreateVpcConnectionRequest withClientSubnets(String... clientSubnets)
The list of client subnets.
NOTE: This method appends the values to the existing list (if any). Use
setClientSubnets(java.util.Collection)
or withClientSubnets(java.util.Collection)
if you want
to override the existing values.
clientSubnets
- The list of client subnets.
public CreateVpcConnectionRequest withClientSubnets(Collection<String> clientSubnets)
The list of client subnets.
clientSubnets
- The list of client subnets.
public List<String> getSecurityGroups()
The list of security groups.
The list of security groups.
public void setSecurityGroups(Collection<String> securityGroups)
The list of security groups.
securityGroups
- The list of security groups.
public CreateVpcConnectionRequest withSecurityGroups(String... securityGroups)
The list of security groups.
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
- The list of security groups.
public CreateVpcConnectionRequest withSecurityGroups(Collection<String> securityGroups)
The list of security groups.
securityGroups
- The list of security groups.
public Map<String,String> getTags()
A map of tags for the VPC connection.
A map of tags for the VPC connection.
public void setTags(Map<String,String> tags)
A map of tags for the VPC connection.
tags
- A map of tags for the VPC connection.
public CreateVpcConnectionRequest withTags(Map<String,String> tags)
A map of tags for the VPC connection.
tags
- A map of tags for the VPC connection.
public CreateVpcConnectionRequest addTagsEntry(String key, String value)
public CreateVpcConnectionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateVpcConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()