@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2CreateRouteAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about the CreateRoute action in Amazon EC2.
Constructor and Description |
---|
EC2CreateRouteAction() |
Modifier and Type | Method and Description |
---|---|
EC2CreateRouteAction |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of CreateRoute action in Amazon EC2.
|
String |
getDestinationCidrBlock()
Information about the IPv4 CIDR address block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
Information about the IPv6 CIDR block destination.
|
String |
getDestinationPrefixListId()
Information about the ID of a prefix list used for the destination match.
|
ActionTarget |
getGatewayId()
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
|
ActionTarget |
getRouteTableId()
Information about the ID of the route table for the route.
|
ActionTarget |
getVpcEndpointId()
Information about the ID of a VPC endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of CreateRoute action in Amazon EC2.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
|
void |
setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR block destination.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of a prefix list used for the destination match.
|
void |
setGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
|
void |
setRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table for the route.
|
void |
setVpcEndpointId(ActionTarget vpcEndpointId)
Information about the ID of a VPC endpoint.
|
String |
toString()
Returns a string representation of this object.
|
EC2CreateRouteAction |
withDescription(String description)
A description of CreateRoute action in Amazon EC2.
|
EC2CreateRouteAction |
withDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
|
EC2CreateRouteAction |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR block destination.
|
EC2CreateRouteAction |
withDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of a prefix list used for the destination match.
|
EC2CreateRouteAction |
withGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
|
EC2CreateRouteAction |
withRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table for the route.
|
EC2CreateRouteAction |
withVpcEndpointId(ActionTarget vpcEndpointId)
Information about the ID of a VPC endpoint.
|
public void setDescription(String description)
A description of CreateRoute action in Amazon EC2.
description
- A description of CreateRoute action in Amazon EC2.public String getDescription()
A description of CreateRoute action in Amazon EC2.
public EC2CreateRouteAction withDescription(String description)
A description of CreateRoute action in Amazon EC2.
description
- A description of CreateRoute action in Amazon EC2.public void setDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
destinationCidrBlock
- Information about the IPv4 CIDR address block used for the destination match.public String getDestinationCidrBlock()
Information about the IPv4 CIDR address block used for the destination match.
public EC2CreateRouteAction withDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
destinationCidrBlock
- Information about the IPv4 CIDR address block used for the destination match.public void setDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of a prefix list used for the destination match.
destinationPrefixListId
- Information about the ID of a prefix list used for the destination match.public String getDestinationPrefixListId()
Information about the ID of a prefix list used for the destination match.
public EC2CreateRouteAction withDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of a prefix list used for the destination match.
destinationPrefixListId
- Information about the ID of a prefix list used for the destination match.public void setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR block destination.
destinationIpv6CidrBlock
- Information about the IPv6 CIDR block destination.public String getDestinationIpv6CidrBlock()
Information about the IPv6 CIDR block destination.
public EC2CreateRouteAction withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR block destination.
destinationIpv6CidrBlock
- Information about the IPv6 CIDR block destination.public void setVpcEndpointId(ActionTarget vpcEndpointId)
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
vpcEndpointId
- Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.public ActionTarget getVpcEndpointId()
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
public EC2CreateRouteAction withVpcEndpointId(ActionTarget vpcEndpointId)
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
vpcEndpointId
- Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.public void setGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
gatewayId
- Information about the ID of an internet gateway or virtual private gateway attached to your VPC.public ActionTarget getGatewayId()
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
public EC2CreateRouteAction withGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
gatewayId
- Information about the ID of an internet gateway or virtual private gateway attached to your VPC.public void setRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table for the route.
routeTableId
- Information about the ID of the route table for the route.public ActionTarget getRouteTableId()
Information about the ID of the route table for the route.
public EC2CreateRouteAction withRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table for the route.
routeTableId
- Information about the ID of the route table for the route.public String toString()
toString
in class Object
Object.toString()
public EC2CreateRouteAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.