@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDirectConnectGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDirectConnectGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDirectConnectGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getAmazonSideAsn()
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the
connection.
|
String |
getDirectConnectGatewayName()
The name of the Direct Connect gateway.
|
int |
hashCode() |
void |
setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the
connection.
|
void |
setDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateDirectConnectGatewayRequest |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the
connection.
|
CreateDirectConnectGatewayRequest |
withDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect 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 setDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
directConnectGatewayName
- The name of the Direct Connect gateway.public String getDirectConnectGatewayName()
The name of the Direct Connect gateway.
public CreateDirectConnectGatewayRequest withDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
directConnectGatewayName
- The name of the Direct Connect gateway.public void setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
amazonSideAsn
- The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side
of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to
4,294,967,294. The default is 64512.public Long getAmazonSideAsn()
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
public CreateDirectConnectGatewayRequest withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
amazonSideAsn
- The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side
of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to
4,294,967,294. The default is 64512.public String toString()
toString
in class Object
Object.toString()
public CreateDirectConnectGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()