@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVpcAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateVpcAttachmentRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateVpcAttachmentRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<String> | getAddSubnetArns()
 Adds a subnet ARN to the VPC attachment. | 
| String | getAttachmentId()
 The ID of the attachment. | 
| VpcOptions | getOptions()
 Additional options for updating the VPC attachment. | 
| List<String> | getRemoveSubnetArns()
 Removes a subnet ARN from the attachment. | 
| int | hashCode() | 
| void | setAddSubnetArns(Collection<String> addSubnetArns)
 Adds a subnet ARN to the VPC attachment. | 
| void | setAttachmentId(String attachmentId)
 The ID of the attachment. | 
| void | setOptions(VpcOptions options)
 Additional options for updating the VPC attachment. | 
| void | setRemoveSubnetArns(Collection<String> removeSubnetArns)
 Removes a subnet ARN from the attachment. | 
| String | toString()Returns a string representation of this object. | 
| UpdateVpcAttachmentRequest | withAddSubnetArns(Collection<String> addSubnetArns)
 Adds a subnet ARN to the VPC attachment. | 
| UpdateVpcAttachmentRequest | withAddSubnetArns(String... addSubnetArns)
 Adds a subnet ARN to the VPC attachment. | 
| UpdateVpcAttachmentRequest | withAttachmentId(String attachmentId)
 The ID of the attachment. | 
| UpdateVpcAttachmentRequest | withOptions(VpcOptions options)
 Additional options for updating the VPC attachment. | 
| UpdateVpcAttachmentRequest | withRemoveSubnetArns(Collection<String> removeSubnetArns)
 Removes a subnet ARN from the attachment. | 
| UpdateVpcAttachmentRequest | withRemoveSubnetArns(String... removeSubnetArns)
 Removes a subnet ARN from the attachment. | 
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, withSdkRequestTimeoutpublic void setAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId - The ID of the attachment.public String getAttachmentId()
The ID of the attachment.
public UpdateVpcAttachmentRequest withAttachmentId(String attachmentId)
The ID of the attachment.
attachmentId - The ID of the attachment.public List<String> getAddSubnetArns()
Adds a subnet ARN to the VPC attachment.
public void setAddSubnetArns(Collection<String> addSubnetArns)
Adds a subnet ARN to the VPC attachment.
addSubnetArns - Adds a subnet ARN to the VPC attachment.public UpdateVpcAttachmentRequest withAddSubnetArns(String... addSubnetArns)
Adds a subnet ARN to the VPC attachment.
 NOTE: This method appends the values to the existing list (if any). Use
 setAddSubnetArns(java.util.Collection) or withAddSubnetArns(java.util.Collection) if you want
 to override the existing values.
 
addSubnetArns - Adds a subnet ARN to the VPC attachment.public UpdateVpcAttachmentRequest withAddSubnetArns(Collection<String> addSubnetArns)
Adds a subnet ARN to the VPC attachment.
addSubnetArns - Adds a subnet ARN to the VPC attachment.public List<String> getRemoveSubnetArns()
Removes a subnet ARN from the attachment.
public void setRemoveSubnetArns(Collection<String> removeSubnetArns)
Removes a subnet ARN from the attachment.
removeSubnetArns - Removes a subnet ARN from the attachment.public UpdateVpcAttachmentRequest withRemoveSubnetArns(String... removeSubnetArns)
Removes a subnet ARN from the attachment.
 NOTE: This method appends the values to the existing list (if any). Use
 setRemoveSubnetArns(java.util.Collection) or withRemoveSubnetArns(java.util.Collection) if you
 want to override the existing values.
 
removeSubnetArns - Removes a subnet ARN from the attachment.public UpdateVpcAttachmentRequest withRemoveSubnetArns(Collection<String> removeSubnetArns)
Removes a subnet ARN from the attachment.
removeSubnetArns - Removes a subnet ARN from the attachment.public void setOptions(VpcOptions options)
Additional options for updating the VPC attachment.
options - Additional options for updating the VPC attachment.public VpcOptions getOptions()
Additional options for updating the VPC attachment.
public UpdateVpcAttachmentRequest withOptions(VpcOptions options)
Additional options for updating the VPC attachment.
options - Additional options for updating the VPC attachment.public String toString()
toString in class ObjectObject.toString()public UpdateVpcAttachmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()