@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyTransitGatewayVpcAttachmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyTransitGatewayVpcAttachmentRequest>
NOOP
Constructor and Description |
---|
ModifyTransitGatewayVpcAttachmentRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyTransitGatewayVpcAttachmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAddSubnetIds()
The IDs of one or more subnets to add.
|
Request<ModifyTransitGatewayVpcAttachmentRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
ModifyTransitGatewayVpcAttachmentRequestOptions |
getOptions()
The new VPC attachment options.
|
List<String> |
getRemoveSubnetIds()
The IDs of one or more subnets to remove.
|
String |
getTransitGatewayAttachmentId()
The ID of the attachment.
|
int |
hashCode() |
void |
setAddSubnetIds(Collection<String> addSubnetIds)
The IDs of one or more subnets to add.
|
void |
setOptions(ModifyTransitGatewayVpcAttachmentRequestOptions options)
The new VPC attachment options.
|
void |
setRemoveSubnetIds(Collection<String> removeSubnetIds)
The IDs of one or more subnets to remove.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
ModifyTransitGatewayVpcAttachmentRequest |
withAddSubnetIds(Collection<String> addSubnetIds)
The IDs of one or more subnets to add.
|
ModifyTransitGatewayVpcAttachmentRequest |
withAddSubnetIds(String... addSubnetIds)
The IDs of one or more subnets to add.
|
ModifyTransitGatewayVpcAttachmentRequest |
withOptions(ModifyTransitGatewayVpcAttachmentRequestOptions options)
The new VPC attachment options.
|
ModifyTransitGatewayVpcAttachmentRequest |
withRemoveSubnetIds(Collection<String> removeSubnetIds)
The IDs of one or more subnets to remove.
|
ModifyTransitGatewayVpcAttachmentRequest |
withRemoveSubnetIds(String... removeSubnetIds)
The IDs of one or more subnets to remove.
|
ModifyTransitGatewayVpcAttachmentRequest |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of 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, withSdkRequestTimeout
public ModifyTransitGatewayVpcAttachmentRequest()
public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId
- The ID of the attachment.public String getTransitGatewayAttachmentId()
The ID of the attachment.
public ModifyTransitGatewayVpcAttachmentRequest withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId
- The ID of the attachment.public List<String> getAddSubnetIds()
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
public void setAddSubnetIds(Collection<String> addSubnetIds)
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
addSubnetIds
- The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.public ModifyTransitGatewayVpcAttachmentRequest withAddSubnetIds(String... addSubnetIds)
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
NOTE: This method appends the values to the existing list (if any). Use
setAddSubnetIds(java.util.Collection)
or withAddSubnetIds(java.util.Collection)
if you want to
override the existing values.
addSubnetIds
- The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.public ModifyTransitGatewayVpcAttachmentRequest withAddSubnetIds(Collection<String> addSubnetIds)
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
addSubnetIds
- The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.public List<String> getRemoveSubnetIds()
The IDs of one or more subnets to remove.
public void setRemoveSubnetIds(Collection<String> removeSubnetIds)
The IDs of one or more subnets to remove.
removeSubnetIds
- The IDs of one or more subnets to remove.public ModifyTransitGatewayVpcAttachmentRequest withRemoveSubnetIds(String... removeSubnetIds)
The IDs of one or more subnets to remove.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveSubnetIds(java.util.Collection)
or withRemoveSubnetIds(java.util.Collection)
if you
want to override the existing values.
removeSubnetIds
- The IDs of one or more subnets to remove.public ModifyTransitGatewayVpcAttachmentRequest withRemoveSubnetIds(Collection<String> removeSubnetIds)
The IDs of one or more subnets to remove.
removeSubnetIds
- The IDs of one or more subnets to remove.public void setOptions(ModifyTransitGatewayVpcAttachmentRequestOptions options)
The new VPC attachment options.
options
- The new VPC attachment options.public ModifyTransitGatewayVpcAttachmentRequestOptions getOptions()
The new VPC attachment options.
public ModifyTransitGatewayVpcAttachmentRequest withOptions(ModifyTransitGatewayVpcAttachmentRequestOptions options)
The new VPC attachment options.
options
- The new VPC attachment options.public Request<ModifyTransitGatewayVpcAttachmentRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyTransitGatewayVpcAttachmentRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyTransitGatewayVpcAttachmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()