@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayRouteTableRoute extends Object implements Serializable, Cloneable
Describes a route in a transit gateway route table.
Constructor and Description |
---|
TransitGatewayRouteTableRoute() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayRouteTableRoute |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the route attachment.
|
String |
getDestinationCidr()
The CIDR block used for destination matches.
|
String |
getPrefixListId()
The ID of the prefix list.
|
String |
getResourceId()
The ID of the resource for the route attachment.
|
String |
getResourceType()
The resource type for the route attachment.
|
String |
getRouteOrigin()
The route origin.
|
String |
getState()
The state of the route.
|
int |
hashCode() |
void |
setAttachmentId(String attachmentId)
The ID of the route attachment.
|
void |
setDestinationCidr(String destinationCidr)
The CIDR block used for destination matches.
|
void |
setPrefixListId(String prefixListId)
The ID of the prefix list.
|
void |
setResourceId(String resourceId)
The ID of the resource for the route attachment.
|
void |
setResourceType(String resourceType)
The resource type for the route attachment.
|
void |
setRouteOrigin(String routeOrigin)
The route origin.
|
void |
setState(String state)
The state of the route.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayRouteTableRoute |
withAttachmentId(String attachmentId)
The ID of the route attachment.
|
TransitGatewayRouteTableRoute |
withDestinationCidr(String destinationCidr)
The CIDR block used for destination matches.
|
TransitGatewayRouteTableRoute |
withPrefixListId(String prefixListId)
The ID of the prefix list.
|
TransitGatewayRouteTableRoute |
withResourceId(String resourceId)
The ID of the resource for the route attachment.
|
TransitGatewayRouteTableRoute |
withResourceType(String resourceType)
The resource type for the route attachment.
|
TransitGatewayRouteTableRoute |
withRouteOrigin(String routeOrigin)
The route origin.
|
TransitGatewayRouteTableRoute |
withState(String state)
The state of the route.
|
public void setDestinationCidr(String destinationCidr)
The CIDR block used for destination matches.
destinationCidr
- The CIDR block used for destination matches.public String getDestinationCidr()
The CIDR block used for destination matches.
public TransitGatewayRouteTableRoute withDestinationCidr(String destinationCidr)
The CIDR block used for destination matches.
destinationCidr
- The CIDR block used for destination matches.public void setState(String state)
The state of the route.
state
- The state of the route.public String getState()
The state of the route.
public TransitGatewayRouteTableRoute withState(String state)
The state of the route.
state
- The state of the route.public void setRouteOrigin(String routeOrigin)
The route origin. The following are the possible values:
static
propagated
routeOrigin
- The route origin. The following are the possible values:
static
propagated
public String getRouteOrigin()
The route origin. The following are the possible values:
static
propagated
static
propagated
public TransitGatewayRouteTableRoute withRouteOrigin(String routeOrigin)
The route origin. The following are the possible values:
static
propagated
routeOrigin
- The route origin. The following are the possible values:
static
propagated
public void setPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public String getPrefixListId()
The ID of the prefix list.
public TransitGatewayRouteTableRoute withPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public void setAttachmentId(String attachmentId)
The ID of the route attachment.
attachmentId
- The ID of the route attachment.public String getAttachmentId()
The ID of the route attachment.
public TransitGatewayRouteTableRoute withAttachmentId(String attachmentId)
The ID of the route attachment.
attachmentId
- The ID of the route attachment.public void setResourceId(String resourceId)
The ID of the resource for the route attachment.
resourceId
- The ID of the resource for the route attachment.public String getResourceId()
The ID of the resource for the route attachment.
public TransitGatewayRouteTableRoute withResourceId(String resourceId)
The ID of the resource for the route attachment.
resourceId
- The ID of the resource for the route attachment.public void setResourceType(String resourceType)
The resource type for the route attachment.
resourceType
- The resource type for the route attachment.public String getResourceType()
The resource type for the route attachment.
public TransitGatewayRouteTableRoute withResourceType(String resourceType)
The resource type for the route attachment.
resourceType
- The resource type for the route attachment.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayRouteTableRoute clone()
Copyright © 2024. All rights reserved.