@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() |
boolean |
equals(Object obj) |
Boolean |
getBlackhole()
Indicates whether traffic matching this route is to be dropped.
|
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 traffic matching this route is to be dropped.
|
void |
setBlackhole(Boolean blackhole)
Indicates whether traffic matching this route is to be dropped.
|
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 traffic matching this route is to be dropped.
|
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, copyBaseTo, 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 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 traffic matching this route is to be dropped.
blackhole
- Indicates whether traffic matching this route is to be dropped.public Boolean getBlackhole()
Indicates whether traffic matching this route is to be dropped.
public CreateTransitGatewayRouteRequest withBlackhole(Boolean blackhole)
Indicates whether traffic matching this route is to be dropped.
blackhole
- Indicates whether traffic matching this route is to be dropped.public Boolean isBlackhole()
Indicates whether traffic matching this route is to be dropped.
public Request<CreateTransitGatewayRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateTransitGatewayRouteRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayRouteRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.