public class ReplaceRouteRequest extends AmazonWebServiceRequest implements java.io.Serializable
ReplaceRoute operation.
Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
| コンストラクタと説明 |
|---|
ReplaceRouteRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestinationCidrBlock()
The CIDR address block used for the destination match.
|
java.lang.String |
getGatewayId()
The ID of a VPN or Internet gateway attached to your VPC.
|
java.lang.String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
java.lang.String |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.
|
java.lang.String |
getRouteTableId()
The ID of the route table where the route will be replaced.
|
int |
hashCode() |
void |
setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR address block used for the destination match.
|
void |
setGatewayId(java.lang.String gatewayId)
The ID of a VPN or Internet gateway attached to your VPC.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of a NAT instance in your VPC.
|
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
void |
setRouteTableId(java.lang.String routeTableId)
The ID of the route table where the route will be replaced.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceRouteRequest |
withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR address block used for the destination match.
|
ReplaceRouteRequest |
withGatewayId(java.lang.String gatewayId)
The ID of a VPN or Internet gateway attached to your VPC.
|
ReplaceRouteRequest |
withInstanceId(java.lang.String instanceId)
The ID of a NAT instance in your VPC.
|
ReplaceRouteRequest |
withNetworkInterfaceId(java.lang.String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
ReplaceRouteRequest |
withRouteTableId(java.lang.String routeTableId)
The ID of the route table where the route will be replaced.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getRouteTableId()
public void setRouteTableId(java.lang.String routeTableId)
routeTableId - The ID of the route table where the route will be replaced.public ReplaceRouteRequest withRouteTableId(java.lang.String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId - The ID of the route table where the route will be replaced.public java.lang.String getDestinationCidrBlock()
0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.destinationCidrBlock - The CIDR address block used for the destination match. For example:
0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.public ReplaceRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock - The CIDR address block used for the destination match. For example:
0.0.0.0/0. The value you provide must match the CIDR of
an existing route in the table.public java.lang.String getGatewayId()
public void setGatewayId(java.lang.String gatewayId)
gatewayId - The ID of a VPN or Internet gateway attached to your VPC.public ReplaceRouteRequest withGatewayId(java.lang.String gatewayId)
Returns a reference to this object so that method calls can be chained together.
gatewayId - The ID of a VPN or Internet gateway attached to your VPC.public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The ID of a NAT instance in your VPC.public ReplaceRouteRequest withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The ID of a NAT instance in your VPC.public java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.public ReplaceRouteRequest withNetworkInterfaceId(java.lang.String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object