@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTransitGatewayRouteRequest>
NOOP| Constructor and Description |
|---|
CreateTransitGatewayRouteRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTransitGatewayRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getBlackhole()
Indicates whether to drop traffic that matches this route.
|
String |
getDestinationCidrBlock()
The CIDR range used for destination matches.
|
Request<CreateTransitGatewayRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getTransitGatewayAttachmentId()
The ID of the attachment.
|
String |
getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
|
int |
hashCode() |
Boolean |
isBlackhole()
Indicates whether to drop traffic that matches this route.
|
void |
setBlackhole(Boolean blackhole)
Indicates whether to drop traffic that matches this route.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR range used for destination matches.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
void |
setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayRouteRequest |
withBlackhole(Boolean blackhole)
Indicates whether to drop traffic that matches this route.
|
CreateTransitGatewayRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR range used for destination matches.
|
CreateTransitGatewayRouteRequest |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
|
CreateTransitGatewayRouteRequest |
withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
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, withSdkRequestTimeoutpublic void setDestinationCidrBlock(String destinationCidrBlock)
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
destinationCidrBlock - The CIDR range used for destination matches. Routing decisions are based on the most specific match.public String getDestinationCidrBlock()
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
public CreateTransitGatewayRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
The CIDR range used for destination matches. Routing decisions are based on the most specific match.
destinationCidrBlock - The CIDR range used for destination matches. Routing decisions are based on the most specific match.public void setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId - The ID of the transit gateway route table.public String getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
public CreateTransitGatewayRouteRequest withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId - The ID of the transit gateway route table.public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.public String getTransitGatewayAttachmentId()
The ID of the attachment.
public CreateTransitGatewayRouteRequest withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.public void setBlackhole(Boolean blackhole)
Indicates whether to drop traffic that matches this route.
blackhole - Indicates whether to drop traffic that matches this route.public Boolean getBlackhole()
Indicates whether to drop traffic that matches this route.
public CreateTransitGatewayRouteRequest withBlackhole(Boolean blackhole)
Indicates whether to drop traffic that matches this route.
blackhole - Indicates whether to drop traffic that matches this route.public Boolean isBlackhole()
Indicates whether to drop traffic that matches this route.
public Request<CreateTransitGatewayRouteRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateTransitGatewayRouteRequest>public String toString()
toString in class ObjectObject.toString()public CreateTransitGatewayRouteRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()