@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateNatGatewayAddressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssociateNatGatewayAddressRequest>
NOOP
Constructor and Description |
---|
AssociateNatGatewayAddressRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateNatGatewayAddressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllocationIds()
The allocation IDs of EIPs that you want to associate with your NAT gateway.
|
Request<AssociateNatGatewayAddressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNatGatewayId()
The ID of the NAT gateway.
|
List<String> |
getPrivateIpAddresses()
The private IPv4 addresses that you want to assign to the NAT gateway.
|
int |
hashCode() |
void |
setAllocationIds(Collection<String> allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
|
void |
setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses that you want to assign to the NAT gateway.
|
String |
toString()
Returns a string representation of this object.
|
AssociateNatGatewayAddressRequest |
withAllocationIds(Collection<String> allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
|
AssociateNatGatewayAddressRequest |
withAllocationIds(String... allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
|
AssociateNatGatewayAddressRequest |
withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
AssociateNatGatewayAddressRequest |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses that you want to assign to the NAT gateway.
|
AssociateNatGatewayAddressRequest |
withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses that you want to assign to 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 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 AssociateNatGatewayAddressRequest withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.public List<String> getAllocationIds()
The allocation IDs of EIPs that you want to associate with your NAT gateway.
public void setAllocationIds(Collection<String> allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
allocationIds
- The allocation IDs of EIPs that you want to associate with your NAT gateway.public AssociateNatGatewayAddressRequest withAllocationIds(String... allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAllocationIds(java.util.Collection)
or withAllocationIds(java.util.Collection)
if you want
to override the existing values.
allocationIds
- The allocation IDs of EIPs that you want to associate with your NAT gateway.public AssociateNatGatewayAddressRequest withAllocationIds(Collection<String> allocationIds)
The allocation IDs of EIPs that you want to associate with your NAT gateway.
allocationIds
- The allocation IDs of EIPs that you want to associate with your NAT gateway.public List<String> getPrivateIpAddresses()
The private IPv4 addresses that you want to assign to the NAT gateway.
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses that you want to assign to the NAT gateway.
privateIpAddresses
- The private IPv4 addresses that you want to assign to the NAT gateway.public AssociateNatGatewayAddressRequest withPrivateIpAddresses(String... privateIpAddresses)
The private IPv4 addresses that you want to assign to the 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 that you want to assign to the NAT gateway.public AssociateNatGatewayAddressRequest withPrivateIpAddresses(Collection<String> privateIpAddresses)
The private IPv4 addresses that you want to assign to the NAT gateway.
privateIpAddresses
- The private IPv4 addresses that you want to assign to the NAT gateway.public Request<AssociateNatGatewayAddressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssociateNatGatewayAddressRequest>
public String toString()
toString
in class Object
Object.toString()
public AssociateNatGatewayAddressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()