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