@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 |
getDestinationCidrBlock()
The CIDR block used for destination matches.
|
String |
getLocalGatewayRouteTableId()
The ID of the local gateway route table.
|
String |
getLocalGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
|
String |
getState()
The state of the route.
|
String |
getType()
The route type.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
|
void |
setLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
void |
setLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
|
void |
setState(String state)
The state of the route.
|
void |
setType(String type)
The route type.
|
String |
toString()
Returns a string representation of this object.
|
LocalGatewayRoute |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block used for destination matches.
|
LocalGatewayRoute |
withLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
LocalGatewayRoute |
withLocalGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId)
The ID of the virtual interface group.
|
LocalGatewayRoute |
withState(LocalGatewayRouteState state)
The state of the route.
|
LocalGatewayRoute |
withState(String state)
The state of the route.
|
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 String toString()
toString
in class Object
Object.toString()
public LocalGatewayRoute clone()