@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a VPC link
NOOP
Constructor and Description |
---|
CreateVpcLinkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcLinkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateVpcLinkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateVpcLinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the VPC link.
|
List<String> |
getSecurityGroupIds()
A list of security group IDs for the VPC link.
|
List<String> |
getSubnetIds()
A list of subnet IDs to include in the VPC link.
|
Map<String,String> |
getTags()
A list of tags.
|
int |
hashCode() |
void |
setName(String name)
The name of the VPC link.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
|
void |
setTags(Map<String,String> tags)
A list of tags.
|
String |
toString()
Returns a string representation of this object.
|
CreateVpcLinkRequest |
withName(String name)
The name of the VPC link.
|
CreateVpcLinkRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
|
CreateVpcLinkRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC link.
|
CreateVpcLinkRequest |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
|
CreateVpcLinkRequest |
withSubnetIds(String... subnetIds)
A list of subnet IDs to include in the VPC link.
|
CreateVpcLinkRequest |
withTags(Map<String,String> tags)
A list of tags.
|
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 setName(String name)
The name of the VPC link.
name
- The name of the VPC link.public String getName()
The name of the VPC link.
public CreateVpcLinkRequest withName(String name)
The name of the VPC link.
name
- The name of the VPC link.public List<String> getSecurityGroupIds()
A list of security group IDs for the VPC link.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
securityGroupIds
- A list of security group IDs for the VPC link.public CreateVpcLinkRequest withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC link.
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 link.public CreateVpcLinkRequest withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
securityGroupIds
- A list of security group IDs for the VPC link.public List<String> getSubnetIds()
A list of subnet IDs to include in the VPC link.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
subnetIds
- A list of subnet IDs to include in the VPC link.public CreateVpcLinkRequest withSubnetIds(String... subnetIds)
A list of subnet IDs to include in the VPC link.
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 to include in the VPC link.public CreateVpcLinkRequest withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
subnetIds
- A list of subnet IDs to include in the VPC link.public void setTags(Map<String,String> tags)
A list of tags.
tags
- A list of tags.public CreateVpcLinkRequest withTags(Map<String,String> tags)
A list of tags.
tags
- A list of tags.public CreateVpcLinkRequest addTagsEntry(String key, String value)
public CreateVpcLinkRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateVpcLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()