@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPolicyTableEntry extends Object implements Serializable, Cloneable
Describes a transit gateway policy table entry
Constructor and Description |
---|
TransitGatewayPolicyTableEntry() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayPolicyTableEntry |
clone() |
boolean |
equals(Object obj) |
TransitGatewayPolicyRule |
getPolicyRule()
The policy rule associated with the transit gateway policy table.
|
String |
getPolicyRuleNumber()
The rule number for the transit gateway policy table entry.
|
String |
getTargetRouteTableId()
The ID of the target route table.
|
int |
hashCode() |
void |
setPolicyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
|
void |
setPolicyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
|
void |
setTargetRouteTableId(String targetRouteTableId)
The ID of the target route table.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayPolicyTableEntry |
withPolicyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
|
TransitGatewayPolicyTableEntry |
withPolicyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
|
TransitGatewayPolicyTableEntry |
withTargetRouteTableId(String targetRouteTableId)
The ID of the target route table.
|
public void setPolicyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
policyRuleNumber
- The rule number for the transit gateway policy table entry.public String getPolicyRuleNumber()
The rule number for the transit gateway policy table entry.
public TransitGatewayPolicyTableEntry withPolicyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
policyRuleNumber
- The rule number for the transit gateway policy table entry.public void setPolicyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
policyRule
- The policy rule associated with the transit gateway policy table.public TransitGatewayPolicyRule getPolicyRule()
The policy rule associated with the transit gateway policy table.
public TransitGatewayPolicyTableEntry withPolicyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
policyRule
- The policy rule associated with the transit gateway policy table.public void setTargetRouteTableId(String targetRouteTableId)
The ID of the target route table.
targetRouteTableId
- The ID of the target route table.public String getTargetRouteTableId()
The ID of the target route table.
public TransitGatewayPolicyTableEntry withTargetRouteTableId(String targetRouteTableId)
The ID of the target route table.
targetRouteTableId
- The ID of the target route table.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayPolicyTableEntry clone()