@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalGatewayRoute extends Object implements Serializable, Cloneable
Describes a route for a local gateway route table.
Constructor and Description |
---|
LocalGatewayRoute() |
Modifier and Type | Method and Description |
---|---|
LocalGatewayRoute |
clone() |
boolean |
equals(Object obj) |
String |
getCoipPoolId()
The ID of the customer-owned address pool.
|
String |
getDestinationCidrBlock()
The CIDR block used for destination matches.
|
String |
getDestinationPrefixListId()
The ID of the prefix list.
|
String |
getLocalGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
|
String |
getLocalGatewayRouteTableId()
The ID of the local gateway route table.
|
String |
getLocalGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway route.
|
String |
getState()
The state of the route.
|
String |
getSubnetId()
The ID of the subnet.
|
String |
getType()
The route type.
|
int |
hashCode() |
void |
setCoipPoolId(String coipPoolId)
The ID of the customer-owned address pool.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list.
|
void |
setLocalGatewayRouteTableArn(String localGatewayRouteTableArn)
The Amazon Resource Name (ARN) of the local gateway route table.
|
void |
setLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
void |
setLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway route.
|
void |
setState(String state)
The state of the route.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setType(String type)
The route type.
|
String |
toString()
Returns a string representation of this object.
|
LocalGatewayRoute |
withCoipPoolId(String coipPoolId)
The ID of the customer-owned address pool.
|
LocalGatewayRoute |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
|
LocalGatewayRoute |
withDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list.
|
LocalGatewayRoute |
withLocalGatewayRouteTableArn(String localGatewayRouteTableArn)
The Amazon Resource Name (ARN) of the local gateway route table.
|
LocalGatewayRoute |
withLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
LocalGatewayRoute |
withLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
|
LocalGatewayRoute |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
LocalGatewayRoute |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway route.
|
LocalGatewayRoute |
withState(LocalGatewayRouteState state)
The state of the route.
|
LocalGatewayRoute |
withState(String state)
The state of the route.
|
LocalGatewayRoute |
withSubnetId(String subnetId)
The ID of the subnet.
|
LocalGatewayRoute |
withType(LocalGatewayRouteType type)
The route type.
|
LocalGatewayRoute |
withType(String type)
The route type.
|
public void setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
destinationCidrBlock
- The CIDR block used for destination matches.public String getDestinationCidrBlock()
The CIDR block used for destination matches.
public LocalGatewayRoute withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
destinationCidrBlock
- The CIDR block used for destination matches.public void setLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
localGatewayVirtualInterfaceGroupId
- The ID of the virtual interface group.public String getLocalGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
public LocalGatewayRoute withLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
localGatewayVirtualInterfaceGroupId
- The ID of the virtual interface group.public void setType(String type)
The route type.
type
- The route type.LocalGatewayRouteType
public String getType()
The route type.
LocalGatewayRouteType
public LocalGatewayRoute withType(String type)
The route type.
type
- The route type.LocalGatewayRouteType
public LocalGatewayRoute withType(LocalGatewayRouteType type)
The route type.
type
- The route type.LocalGatewayRouteType
public void setState(String state)
The state of the route.
state
- The state of the route.LocalGatewayRouteState
public String getState()
The state of the route.
LocalGatewayRouteState
public LocalGatewayRoute withState(String state)
The state of the route.
state
- The state of the route.LocalGatewayRouteState
public LocalGatewayRoute withState(LocalGatewayRouteState state)
The state of the route.
state
- The state of the route.LocalGatewayRouteState
public void setLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
localGatewayRouteTableId
- The ID of the local gateway route table.public String getLocalGatewayRouteTableId()
The ID of the local gateway route table.
public LocalGatewayRoute withLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
localGatewayRouteTableId
- The ID of the local gateway route table.public void setLocalGatewayRouteTableArn(String localGatewayRouteTableArn)
The Amazon Resource Name (ARN) of the local gateway route table.
localGatewayRouteTableArn
- The Amazon Resource Name (ARN) of the local gateway route table.public String getLocalGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
public LocalGatewayRoute withLocalGatewayRouteTableArn(String localGatewayRouteTableArn)
The Amazon Resource Name (ARN) of the local gateway route table.
localGatewayRouteTableArn
- The Amazon Resource Name (ARN) of the local gateway route table.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway route.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway route.public String getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway route.
public LocalGatewayRoute withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway route.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway route.public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public LocalGatewayRoute withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setCoipPoolId(String coipPoolId)
The ID of the customer-owned address pool.
coipPoolId
- The ID of the customer-owned address pool.public String getCoipPoolId()
The ID of the customer-owned address pool.
public LocalGatewayRoute withCoipPoolId(String coipPoolId)
The ID of the customer-owned address pool.
coipPoolId
- The ID of the customer-owned address pool.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public LocalGatewayRoute withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list.
destinationPrefixListId
- The ID of the prefix list.public String getDestinationPrefixListId()
The ID of the prefix list.
public LocalGatewayRoute withDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list.
destinationPrefixListId
- The ID of the prefix list.public String toString()
toString
in class Object
Object.toString()
public LocalGatewayRoute clone()