@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssignPrivateNatGatewayAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssignPrivateNatGatewayAddressRequest>
NOOP
Constructor and Description |
---|
AssignPrivateNatGatewayAddressRequest() |
Modifier and Type | Method and Description |
---|---|
AssignPrivateNatGatewayAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<AssignPrivateNatGatewayAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNatGatewayId()
The ID of the NAT gateway.
|
Integer |
getPrivateIpAddressCount()
The number of private IP addresses to assign to the NAT gateway.
|
List<String> |
getPrivateIpAddresses()
The private IPv4 addresses you want to assign to the private NAT gateway.
|
int |
hashCode() |
void |
setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
void |
setPrivateIpAddressCount(Integer privateIpAddressCount)
The number of private IP addresses to assign to the NAT gateway.
|
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to assign to the private NAT gateway.
|
String |
toString()
Returns a string representation of this object.
|
AssignPrivateNatGatewayAddressRequest |
withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
AssignPrivateNatGatewayAddressRequest |
withPrivateIpAddressCount(Integer privateIpAddressCount)
The number of private IP addresses to assign to the NAT gateway.
|
AssignPrivateNatGatewayAddressRequest |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to assign to the private NAT gateway.
|
AssignPrivateNatGatewayAddressRequest |
withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses you want to assign to the private 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 AssignPrivateNatGatewayAddressRequest()
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 AssignPrivateNatGatewayAddressRequest withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.public List<String> getPrivateIpAddresses()
The private IPv4 addresses you want to assign to the private NAT gateway.
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to assign to the private NAT gateway.
privateIpAddresses
- The private IPv4 addresses you want to assign to the private NAT gateway.public AssignPrivateNatGatewayAddressRequest withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses you want to assign to the private NAT gateway.
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 assign to the private NAT gateway.public AssignPrivateNatGatewayAddressRequest withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses you want to assign to the private NAT gateway.
privateIpAddresses
- The private IPv4 addresses you want to assign to the private NAT gateway.public void setPrivateIpAddressCount(Integer privateIpAddressCount)
The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.
privateIpAddressCount
- The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when
also specifying private IP addresses.public Integer getPrivateIpAddressCount()
The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.
public AssignPrivateNatGatewayAddressRequest withPrivateIpAddressCount(Integer privateIpAddressCount)
The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.
privateIpAddressCount
- The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when
also specifying private IP addresses.public Request<AssignPrivateNatGatewayAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssignPrivateNatGatewayAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public AssignPrivateNatGatewayAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()