@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVpcAttachmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcAttachmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The client token associated with the request.
|
String |
getCoreNetworkId()
The ID of a core network for the VPC attachment.
|
VpcOptions |
getOptions()
Options for the VPC attachment.
|
List<String> |
getSubnetArns()
The subnet ARN of the VPC attachment.
|
List<Tag> |
getTags()
The key-value tags associated with the request.
|
String |
getVpcArn()
The ARN of the VPC.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token associated with the request.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network for the VPC attachment.
|
void |
setOptions(VpcOptions options)
Options for the VPC attachment.
|
void |
setSubnetArns(Collection<String> subnetArns)
The subnet ARN of the VPC attachment.
|
void |
setTags(Collection<Tag> tags)
The key-value tags associated with the request.
|
void |
setVpcArn(String vpcArn)
The ARN of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
CreateVpcAttachmentRequest |
withClientToken(String clientToken)
The client token associated with the request.
|
CreateVpcAttachmentRequest |
withCoreNetworkId(String coreNetworkId)
The ID of a core network for the VPC attachment.
|
CreateVpcAttachmentRequest |
withOptions(VpcOptions options)
Options for the VPC attachment.
|
CreateVpcAttachmentRequest |
withSubnetArns(Collection<String> subnetArns)
The subnet ARN of the VPC attachment.
|
CreateVpcAttachmentRequest |
withSubnetArns(String... subnetArns)
The subnet ARN of the VPC attachment.
|
CreateVpcAttachmentRequest |
withTags(Collection<Tag> tags)
The key-value tags associated with the request.
|
CreateVpcAttachmentRequest |
withTags(Tag... tags)
The key-value tags associated with the request.
|
CreateVpcAttachmentRequest |
withVpcArn(String vpcArn)
The ARN of the VPC.
|
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 setCoreNetworkId(String coreNetworkId)
The ID of a core network for the VPC attachment.
coreNetworkId
- The ID of a core network for the VPC attachment.public String getCoreNetworkId()
The ID of a core network for the VPC attachment.
public CreateVpcAttachmentRequest withCoreNetworkId(String coreNetworkId)
The ID of a core network for the VPC attachment.
coreNetworkId
- The ID of a core network for the VPC attachment.public void setVpcArn(String vpcArn)
The ARN of the VPC.
vpcArn
- The ARN of the VPC.public String getVpcArn()
The ARN of the VPC.
public CreateVpcAttachmentRequest withVpcArn(String vpcArn)
The ARN of the VPC.
vpcArn
- The ARN of the VPC.public List<String> getSubnetArns()
The subnet ARN of the VPC attachment.
public void setSubnetArns(Collection<String> subnetArns)
The subnet ARN of the VPC attachment.
subnetArns
- The subnet ARN of the VPC attachment.public CreateVpcAttachmentRequest withSubnetArns(String... subnetArns)
The subnet ARN of the VPC attachment.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetArns(java.util.Collection)
or withSubnetArns(java.util.Collection)
if you want to
override the existing values.
subnetArns
- The subnet ARN of the VPC attachment.public CreateVpcAttachmentRequest withSubnetArns(Collection<String> subnetArns)
The subnet ARN of the VPC attachment.
subnetArns
- The subnet ARN of the VPC attachment.public void setOptions(VpcOptions options)
Options for the VPC attachment.
options
- Options for the VPC attachment.public VpcOptions getOptions()
Options for the VPC attachment.
public CreateVpcAttachmentRequest withOptions(VpcOptions options)
Options for the VPC attachment.
options
- Options for the VPC attachment.public List<Tag> getTags()
The key-value tags associated with the request.
public void setTags(Collection<Tag> tags)
The key-value tags associated with the request.
tags
- The key-value tags associated with the request.public CreateVpcAttachmentRequest withTags(Tag... tags)
The key-value tags associated with the request.
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
- The key-value tags associated with the request.public CreateVpcAttachmentRequest withTags(Collection<Tag> tags)
The key-value tags associated with the request.
tags
- The key-value tags associated with the request.public void setClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String getClientToken()
The client token associated with the request.
public CreateVpcAttachmentRequest withClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String toString()
toString
in class Object
Object.toString()
public CreateVpcAttachmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()