@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 ID of the NAT gateway.
|
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 ID of the NAT gateway.
|
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 ID of the NAT gateway.
|
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 DisassociateNatGatewayAddressRequest()
public void setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.public String getNatGatewayId()
The ID of the NAT gateway.
public DisassociateNatGatewayAddressRequest withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.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 Object
Object.toString()
public DisassociateNatGatewayAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()