@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDirectConnectGatewayAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDirectConnectGatewayAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDirectConnectGatewayAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<RouteFilterPrefix> |
getAddAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getGatewayId()
The ID of the virtual private gateway or transit gateway.
|
String |
getVirtualGatewayId()
The ID of the virtual private gateway.
|
int |
hashCode() |
void |
setAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setGatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
|
void |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateDirectConnectGatewayAssociationRequest |
withAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
|
CreateDirectConnectGatewayAssociationRequest |
withAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
|
CreateDirectConnectGatewayAssociationRequest |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
CreateDirectConnectGatewayAssociationRequest |
withGatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
|
CreateDirectConnectGatewayAssociationRequest |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private 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 CreateDirectConnectGatewayAssociationRequest()
public void setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public String getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
public CreateDirectConnectGatewayAssociationRequest withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public void setGatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
gatewayId
- The ID of the virtual private gateway or transit gateway.public String getGatewayId()
The ID of the virtual private gateway or transit gateway.
public CreateDirectConnectGatewayAssociationRequest withGatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
gatewayId
- The ID of the virtual private gateway or transit gateway.public List<RouteFilterPrefix> getAddAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
public void setAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
public CreateDirectConnectGatewayAssociationRequest withAddAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAddAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withAddAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the existing
values.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
public CreateDirectConnectGatewayAssociationRequest withAddAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
addAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public String getVirtualGatewayId()
The ID of the virtual private gateway.
public CreateDirectConnectGatewayAssociationRequest withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public String toString()
toString
in class Object
Object.toString()
public CreateDirectConnectGatewayAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()