@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociateNatGatewayAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DisassociateNatGatewayAddressRequest>
NOOP| Constructor and Description |
|---|
DisassociateNatGatewayAddressRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisassociateNatGatewayAddressRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssociationIds()
The association IDs of EIPs that have been associated with the NAT gateway.
|
Request<DisassociateNatGatewayAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxDrainDurationSeconds()
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are
still in progress.
|
String |
getNatGatewayId()
The NAT gateway ID.
|
int |
hashCode() |
void |
setAssociationIds(Collection<String> associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
|
void |
setMaxDrainDurationSeconds(Integer maxDrainDurationSeconds)
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are
still in progress.
|
void |
setNatGatewayId(String natGatewayId)
The NAT gateway ID.
|
String |
toString()
Returns a string representation of this object.
|
DisassociateNatGatewayAddressRequest |
withAssociationIds(Collection<String> associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
|
DisassociateNatGatewayAddressRequest |
withAssociationIds(String... associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
|
DisassociateNatGatewayAddressRequest |
withMaxDrainDurationSeconds(Integer maxDrainDurationSeconds)
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are
still in progress.
|
DisassociateNatGatewayAddressRequest |
withNatGatewayId(String natGatewayId)
The NAT gateway ID.
|
addHandlerContext, copyBaseTo, 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 DisassociateNatGatewayAddressRequest()
public void setNatGatewayId(String natGatewayId)
The NAT gateway ID.
natGatewayId - The NAT gateway ID.public String getNatGatewayId()
The NAT gateway ID.
public DisassociateNatGatewayAddressRequest withNatGatewayId(String natGatewayId)
The NAT gateway ID.
natGatewayId - The NAT gateway ID.public List<String> getAssociationIds()
The association IDs of EIPs that have been associated with the NAT gateway.
public void setAssociationIds(Collection<String> associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
associationIds - The association IDs of EIPs that have been associated with the NAT gateway.public DisassociateNatGatewayAddressRequest withAssociationIds(String... associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAssociationIds(java.util.Collection) or withAssociationIds(java.util.Collection) if you want
to override the existing values.
associationIds - The association IDs of EIPs that have been associated with the NAT gateway.public DisassociateNatGatewayAddressRequest withAssociationIds(Collection<String> associationIds)
The association IDs of EIPs that have been associated with the NAT gateway.
associationIds - The association IDs of EIPs that have been associated with the NAT gateway.public void setMaxDrainDurationSeconds(Integer maxDrainDurationSeconds)
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
maxDrainDurationSeconds - The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections
are still in progress. Default value is 350 seconds.public Integer getMaxDrainDurationSeconds()
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
public DisassociateNatGatewayAddressRequest withMaxDrainDurationSeconds(Integer maxDrainDurationSeconds)
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
maxDrainDurationSeconds - The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections
are still in progress. Default value is 350 seconds.public Request<DisassociateNatGatewayAddressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DisassociateNatGatewayAddressRequest>public String toString()
toString in class ObjectObject.toString()public DisassociateNatGatewayAddressRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.