@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnassignPrivateNatGatewayAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UnassignPrivateNatGatewayAddressRequest>
NOOP
Constructor and Description |
---|
UnassignPrivateNatGatewayAddressRequest() |
Modifier and Type | Method and Description |
---|---|
UnassignPrivateNatGatewayAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<UnassignPrivateNatGatewayAddressRequest> |
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.
|
List<String> |
getPrivateIpAddresses()
The private IPv4 addresses you want to unassign.
|
int |
hashCode() |
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.
|
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to unassign.
|
String |
toString()
Returns a string representation of this object.
|
UnassignPrivateNatGatewayAddressRequest |
withMaxDrainDurationSeconds(Integer maxDrainDurationSeconds)
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are
still in progress.
|
UnassignPrivateNatGatewayAddressRequest |
withNatGatewayId(String natGatewayId)
The NAT gateway ID.
|
UnassignPrivateNatGatewayAddressRequest |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to unassign.
|
UnassignPrivateNatGatewayAddressRequest |
withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses you want to unassign.
|
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 UnassignPrivateNatGatewayAddressRequest()
public void setNatGatewayId(String natGatewayId)
The NAT gateway ID.
natGatewayId
- The NAT gateway ID.public String getNatGatewayId()
The NAT gateway ID.
public UnassignPrivateNatGatewayAddressRequest withNatGatewayId(String natGatewayId)
The NAT gateway ID.
natGatewayId
- The NAT gateway ID.public List<String> getPrivateIpAddresses()
The private IPv4 addresses you want to unassign.
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to unassign.
privateIpAddresses
- The private IPv4 addresses you want to unassign.public UnassignPrivateNatGatewayAddressRequest withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses you want to unassign.
NOTE: This method appends the values to the existing list (if any). Use
setPrivateIpAddresses(java.util.Collection)
or withPrivateIpAddresses(java.util.Collection)
if
you want to override the existing values.
privateIpAddresses
- The private IPv4 addresses you want to unassign.public UnassignPrivateNatGatewayAddressRequest withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to unassign.
privateIpAddresses
- The private IPv4 addresses you want to unassign.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 UnassignPrivateNatGatewayAddressRequest 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<UnassignPrivateNatGatewayAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UnassignPrivateNatGatewayAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public UnassignPrivateNatGatewayAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()