com.amazonaws.services.ec2.model.CreateNatGatewayRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-ec2 Show documentation
/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.CreateNatGatewayRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateNatGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest {
/**
*
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You
* cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with
* another resource, you must first disassociate it.
*
*/
private String allocationId;
/**
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
*
* Constraint: Maximum 64 ASCII characters.
*
*/
private String clientToken;
/**
*
* The ID of the subnet in which to create the NAT gateway.
*
*/
private String subnetId;
/**
*
* The tags to assign to the NAT gateway.
*
*/
private com.amazonaws.internal.SdkInternalList tagSpecifications;
/**
*
* Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
*
*/
private String connectivityType;
/**
*
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address
* will be automatically assigned.
*
*/
private String privateIpAddress;
/**
*
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*/
private com.amazonaws.internal.SdkInternalList secondaryAllocationIds;
/**
*
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*/
private com.amazonaws.internal.SdkInternalList secondaryPrivateIpAddresses;
/**
*
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
* For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*/
private Integer secondaryPrivateIpAddressCount;
/**
*
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You
* cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with
* another resource, you must first disassociate it.
*
*
* @param allocationId
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
* You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is
* associated with another resource, you must first disassociate it.
*/
public void setAllocationId(String allocationId) {
this.allocationId = allocationId;
}
/**
*
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You
* cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with
* another resource, you must first disassociate it.
*
*
* @return [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
* You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is
* associated with another resource, you must first disassociate it.
*/
public String getAllocationId() {
return this.allocationId;
}
/**
*
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You
* cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with
* another resource, you must first disassociate it.
*
*
* @param allocationId
* [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
* You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is
* associated with another resource, you must first disassociate it.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withAllocationId(String allocationId) {
setAllocationId(allocationId);
return this;
}
/**
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
*
* Constraint: Maximum 64 ASCII characters.
*
*
* @param clientToken
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
* Constraint: Maximum 64 ASCII characters.
*/
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
}
/**
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
*
* Constraint: Maximum 64 ASCII characters.
*
*
* @return Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
* Constraint: Maximum 64 ASCII characters.
*/
public String getClientToken() {
return this.clientToken;
}
/**
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
*
* Constraint: Maximum 64 ASCII characters.
*
*
* @param clientToken
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see How to ensure
* idempotency.
*
* Constraint: Maximum 64 ASCII characters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withClientToken(String clientToken) {
setClientToken(clientToken);
return this;
}
/**
*
* The ID of the subnet in which to create the NAT gateway.
*
*
* @param subnetId
* The ID of the subnet in which to create the NAT gateway.
*/
public void setSubnetId(String subnetId) {
this.subnetId = subnetId;
}
/**
*
* The ID of the subnet in which to create the NAT gateway.
*
*
* @return The ID of the subnet in which to create the NAT gateway.
*/
public String getSubnetId() {
return this.subnetId;
}
/**
*
* The ID of the subnet in which to create the NAT gateway.
*
*
* @param subnetId
* The ID of the subnet in which to create the NAT gateway.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSubnetId(String subnetId) {
setSubnetId(subnetId);
return this;
}
/**
*
* The tags to assign to the NAT gateway.
*
*
* @return The tags to assign to the NAT gateway.
*/
public java.util.List getTagSpecifications() {
if (tagSpecifications == null) {
tagSpecifications = new com.amazonaws.internal.SdkInternalList();
}
return tagSpecifications;
}
/**
*
* The tags to assign to the NAT gateway.
*
*
* @param tagSpecifications
* The tags to assign to the NAT gateway.
*/
public void setTagSpecifications(java.util.Collection tagSpecifications) {
if (tagSpecifications == null) {
this.tagSpecifications = null;
return;
}
this.tagSpecifications = new com.amazonaws.internal.SdkInternalList(tagSpecifications);
}
/**
*
* The tags to assign to the NAT gateway.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTagSpecifications(java.util.Collection)} or {@link #withTagSpecifications(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param tagSpecifications
* The tags to assign to the NAT gateway.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withTagSpecifications(TagSpecification... tagSpecifications) {
if (this.tagSpecifications == null) {
setTagSpecifications(new com.amazonaws.internal.SdkInternalList(tagSpecifications.length));
}
for (TagSpecification ele : tagSpecifications) {
this.tagSpecifications.add(ele);
}
return this;
}
/**
*
* The tags to assign to the NAT gateway.
*
*
* @param tagSpecifications
* The tags to assign to the NAT gateway.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withTagSpecifications(java.util.Collection tagSpecifications) {
setTagSpecifications(tagSpecifications);
return this;
}
/**
*
* Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
*
*
* @param connectivityType
* Indicates whether the NAT gateway supports public or private connectivity. The default is public
* connectivity.
* @see ConnectivityType
*/
public void setConnectivityType(String connectivityType) {
this.connectivityType = connectivityType;
}
/**
*
* Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
*
*
* @return Indicates whether the NAT gateway supports public or private connectivity. The default is public
* connectivity.
* @see ConnectivityType
*/
public String getConnectivityType() {
return this.connectivityType;
}
/**
*
* Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
*
*
* @param connectivityType
* Indicates whether the NAT gateway supports public or private connectivity. The default is public
* connectivity.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ConnectivityType
*/
public CreateNatGatewayRequest withConnectivityType(String connectivityType) {
setConnectivityType(connectivityType);
return this;
}
/**
*
* Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
*
*
* @param connectivityType
* Indicates whether the NAT gateway supports public or private connectivity. The default is public
* connectivity.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ConnectivityType
*/
public CreateNatGatewayRequest withConnectivityType(ConnectivityType connectivityType) {
this.connectivityType = connectivityType.toString();
return this;
}
/**
*
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address
* will be automatically assigned.
*
*
* @param privateIpAddress
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4
* address will be automatically assigned.
*/
public void setPrivateIpAddress(String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
}
/**
*
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address
* will be automatically assigned.
*
*
* @return The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4
* address will be automatically assigned.
*/
public String getPrivateIpAddress() {
return this.privateIpAddress;
}
/**
*
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address
* will be automatically assigned.
*
*
* @param privateIpAddress
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4
* address will be automatically assigned.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withPrivateIpAddress(String privateIpAddress) {
setPrivateIpAddress(privateIpAddress);
return this;
}
/**
*
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @return Secondary EIP allocation IDs. For more information about secondary addresses, see Create
* a NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public java.util.List getSecondaryAllocationIds() {
if (secondaryAllocationIds == null) {
secondaryAllocationIds = new com.amazonaws.internal.SdkInternalList();
}
return secondaryAllocationIds;
}
/**
*
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryAllocationIds
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public void setSecondaryAllocationIds(java.util.Collection secondaryAllocationIds) {
if (secondaryAllocationIds == null) {
this.secondaryAllocationIds = null;
return;
}
this.secondaryAllocationIds = new com.amazonaws.internal.SdkInternalList(secondaryAllocationIds);
}
/**
*
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setSecondaryAllocationIds(java.util.Collection)} or
* {@link #withSecondaryAllocationIds(java.util.Collection)} if you want to override the existing values.
*
*
* @param secondaryAllocationIds
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSecondaryAllocationIds(String... secondaryAllocationIds) {
if (this.secondaryAllocationIds == null) {
setSecondaryAllocationIds(new com.amazonaws.internal.SdkInternalList(secondaryAllocationIds.length));
}
for (String ele : secondaryAllocationIds) {
this.secondaryAllocationIds.add(ele);
}
return this;
}
/**
*
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryAllocationIds
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSecondaryAllocationIds(java.util.Collection secondaryAllocationIds) {
setSecondaryAllocationIds(secondaryAllocationIds);
return this;
}
/**
*
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @return Secondary private IPv4 addresses. For more information about secondary addresses, see Create
* a NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public java.util.List getSecondaryPrivateIpAddresses() {
if (secondaryPrivateIpAddresses == null) {
secondaryPrivateIpAddresses = new com.amazonaws.internal.SdkInternalList();
}
return secondaryPrivateIpAddresses;
}
/**
*
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryPrivateIpAddresses
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public void setSecondaryPrivateIpAddresses(java.util.Collection secondaryPrivateIpAddresses) {
if (secondaryPrivateIpAddresses == null) {
this.secondaryPrivateIpAddresses = null;
return;
}
this.secondaryPrivateIpAddresses = new com.amazonaws.internal.SdkInternalList(secondaryPrivateIpAddresses);
}
/**
*
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setSecondaryPrivateIpAddresses(java.util.Collection)} or
* {@link #withSecondaryPrivateIpAddresses(java.util.Collection)} if you want to override the existing values.
*
*
* @param secondaryPrivateIpAddresses
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSecondaryPrivateIpAddresses(String... secondaryPrivateIpAddresses) {
if (this.secondaryPrivateIpAddresses == null) {
setSecondaryPrivateIpAddresses(new com.amazonaws.internal.SdkInternalList(secondaryPrivateIpAddresses.length));
}
for (String ele : secondaryPrivateIpAddresses) {
this.secondaryPrivateIpAddresses.add(ele);
}
return this;
}
/**
*
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryPrivateIpAddresses
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSecondaryPrivateIpAddresses(java.util.Collection secondaryPrivateIpAddresses) {
setSecondaryPrivateIpAddresses(secondaryPrivateIpAddresses);
return this;
}
/**
*
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
* For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryPrivateIpAddressCount
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT
* gateway. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) {
this.secondaryPrivateIpAddressCount = secondaryPrivateIpAddressCount;
}
/**
*
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
* For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @return [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT
* gateway. For more information about secondary addresses, see Create
* a NAT gateway in the Amazon Virtual Private Cloud User Guide.
*/
public Integer getSecondaryPrivateIpAddressCount() {
return this.secondaryPrivateIpAddressCount;
}
/**
*
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
* For more information about secondary addresses, see Create a NAT
* gateway in the Amazon Virtual Private Cloud User Guide.
*
*
* @param secondaryPrivateIpAddressCount
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT
* gateway. For more information about secondary addresses, see Create a
* NAT gateway in the Amazon Virtual Private Cloud User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateNatGatewayRequest withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) {
setSecondaryPrivateIpAddressCount(secondaryPrivateIpAddressCount);
return this;
}
/**
* This method is intended for internal use only. Returns the marshaled request configured with additional
* parameters to enable operation dry-run.
*/
@Override
public Request getDryRunRequest() {
Request request = new CreateNatGatewayRequestMarshaller().marshall(this);
request.addParameter("DryRun", Boolean.toString(true));
return request;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAllocationId() != null)
sb.append("AllocationId: ").append(getAllocationId()).append(",");
if (getClientToken() != null)
sb.append("ClientToken: ").append(getClientToken()).append(",");
if (getSubnetId() != null)
sb.append("SubnetId: ").append(getSubnetId()).append(",");
if (getTagSpecifications() != null)
sb.append("TagSpecifications: ").append(getTagSpecifications()).append(",");
if (getConnectivityType() != null)
sb.append("ConnectivityType: ").append(getConnectivityType()).append(",");
if (getPrivateIpAddress() != null)
sb.append("PrivateIpAddress: ").append(getPrivateIpAddress()).append(",");
if (getSecondaryAllocationIds() != null)
sb.append("SecondaryAllocationIds: ").append(getSecondaryAllocationIds()).append(",");
if (getSecondaryPrivateIpAddresses() != null)
sb.append("SecondaryPrivateIpAddresses: ").append(getSecondaryPrivateIpAddresses()).append(",");
if (getSecondaryPrivateIpAddressCount() != null)
sb.append("SecondaryPrivateIpAddressCount: ").append(getSecondaryPrivateIpAddressCount());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CreateNatGatewayRequest == false)
return false;
CreateNatGatewayRequest other = (CreateNatGatewayRequest) obj;
if (other.getAllocationId() == null ^ this.getAllocationId() == null)
return false;
if (other.getAllocationId() != null && other.getAllocationId().equals(this.getAllocationId()) == false)
return false;
if (other.getClientToken() == null ^ this.getClientToken() == null)
return false;
if (other.getClientToken() != null && other.getClientToken().equals(this.getClientToken()) == false)
return false;
if (other.getSubnetId() == null ^ this.getSubnetId() == null)
return false;
if (other.getSubnetId() != null && other.getSubnetId().equals(this.getSubnetId()) == false)
return false;
if (other.getTagSpecifications() == null ^ this.getTagSpecifications() == null)
return false;
if (other.getTagSpecifications() != null && other.getTagSpecifications().equals(this.getTagSpecifications()) == false)
return false;
if (other.getConnectivityType() == null ^ this.getConnectivityType() == null)
return false;
if (other.getConnectivityType() != null && other.getConnectivityType().equals(this.getConnectivityType()) == false)
return false;
if (other.getPrivateIpAddress() == null ^ this.getPrivateIpAddress() == null)
return false;
if (other.getPrivateIpAddress() != null && other.getPrivateIpAddress().equals(this.getPrivateIpAddress()) == false)
return false;
if (other.getSecondaryAllocationIds() == null ^ this.getSecondaryAllocationIds() == null)
return false;
if (other.getSecondaryAllocationIds() != null && other.getSecondaryAllocationIds().equals(this.getSecondaryAllocationIds()) == false)
return false;
if (other.getSecondaryPrivateIpAddresses() == null ^ this.getSecondaryPrivateIpAddresses() == null)
return false;
if (other.getSecondaryPrivateIpAddresses() != null && other.getSecondaryPrivateIpAddresses().equals(this.getSecondaryPrivateIpAddresses()) == false)
return false;
if (other.getSecondaryPrivateIpAddressCount() == null ^ this.getSecondaryPrivateIpAddressCount() == null)
return false;
if (other.getSecondaryPrivateIpAddressCount() != null
&& other.getSecondaryPrivateIpAddressCount().equals(this.getSecondaryPrivateIpAddressCount()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAllocationId() == null) ? 0 : getAllocationId().hashCode());
hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode());
hashCode = prime * hashCode + ((getSubnetId() == null) ? 0 : getSubnetId().hashCode());
hashCode = prime * hashCode + ((getTagSpecifications() == null) ? 0 : getTagSpecifications().hashCode());
hashCode = prime * hashCode + ((getConnectivityType() == null) ? 0 : getConnectivityType().hashCode());
hashCode = prime * hashCode + ((getPrivateIpAddress() == null) ? 0 : getPrivateIpAddress().hashCode());
hashCode = prime * hashCode + ((getSecondaryAllocationIds() == null) ? 0 : getSecondaryAllocationIds().hashCode());
hashCode = prime * hashCode + ((getSecondaryPrivateIpAddresses() == null) ? 0 : getSecondaryPrivateIpAddresses().hashCode());
hashCode = prime * hashCode + ((getSecondaryPrivateIpAddressCount() == null) ? 0 : getSecondaryPrivateIpAddressCount().hashCode());
return hashCode;
}
@Override
public CreateNatGatewayRequest clone() {
return (CreateNatGatewayRequest) super.clone();
}
}