@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPolicyTable extends Object implements Serializable, Cloneable
Describes a transit gateway policy table.
Constructor and Description |
---|
TransitGatewayPolicyTable() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayPolicyTable |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The timestamp when the transit gateway policy table was created.
|
String |
getState()
The state of the transit gateway policy table
|
List<Tag> |
getTags()
he key-value pairs associated with the transit gateway policy table.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
String |
getTransitGatewayPolicyTableId()
The ID of the transit gateway policy table.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The timestamp when the transit gateway policy table was created.
|
void |
setState(String state)
The state of the transit gateway policy table
|
void |
setTags(Collection<Tag> tags)
he key-value pairs associated with the transit gateway policy table.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
void |
setTransitGatewayPolicyTableId(String transitGatewayPolicyTableId)
The ID of the transit gateway policy table.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayPolicyTable |
withCreationTime(Date creationTime)
The timestamp when the transit gateway policy table was created.
|
TransitGatewayPolicyTable |
withState(String state)
The state of the transit gateway policy table
|
TransitGatewayPolicyTable |
withState(TransitGatewayPolicyTableState state)
The state of the transit gateway policy table
|
TransitGatewayPolicyTable |
withTags(Collection<Tag> tags)
he key-value pairs associated with the transit gateway policy table.
|
TransitGatewayPolicyTable |
withTags(Tag... tags)
he key-value pairs associated with the transit gateway policy table.
|
TransitGatewayPolicyTable |
withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
TransitGatewayPolicyTable |
withTransitGatewayPolicyTableId(String transitGatewayPolicyTableId)
The ID of the transit gateway policy table.
|
public void setTransitGatewayPolicyTableId(String transitGatewayPolicyTableId)
The ID of the transit gateway policy table.
transitGatewayPolicyTableId
- The ID of the transit gateway policy table.public String getTransitGatewayPolicyTableId()
The ID of the transit gateway policy table.
public TransitGatewayPolicyTable withTransitGatewayPolicyTableId(String transitGatewayPolicyTableId)
The ID of the transit gateway policy table.
transitGatewayPolicyTableId
- The ID of the transit gateway policy table.public void setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public String getTransitGatewayId()
The ID of the transit gateway.
public TransitGatewayPolicyTable withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public void setState(String state)
The state of the transit gateway policy table
state
- The state of the transit gateway policy tableTransitGatewayPolicyTableState
public String getState()
The state of the transit gateway policy table
TransitGatewayPolicyTableState
public TransitGatewayPolicyTable withState(String state)
The state of the transit gateway policy table
state
- The state of the transit gateway policy tableTransitGatewayPolicyTableState
public TransitGatewayPolicyTable withState(TransitGatewayPolicyTableState state)
The state of the transit gateway policy table
state
- The state of the transit gateway policy tableTransitGatewayPolicyTableState
public void setCreationTime(Date creationTime)
The timestamp when the transit gateway policy table was created.
creationTime
- The timestamp when the transit gateway policy table was created.public Date getCreationTime()
The timestamp when the transit gateway policy table was created.
public TransitGatewayPolicyTable withCreationTime(Date creationTime)
The timestamp when the transit gateway policy table was created.
creationTime
- The timestamp when the transit gateway policy table was created.public List<Tag> getTags()
he key-value pairs associated with the transit gateway policy table.
public void setTags(Collection<Tag> tags)
he key-value pairs associated with the transit gateway policy table.
tags
- he key-value pairs associated with the transit gateway policy table.public TransitGatewayPolicyTable withTags(Tag... tags)
he key-value pairs associated with the transit gateway policy table.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- he key-value pairs associated with the transit gateway policy table.public TransitGatewayPolicyTable withTags(Collection<Tag> tags)
he key-value pairs associated with the transit gateway policy table.
tags
- he key-value pairs associated with the transit gateway policy table.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayPolicyTable clone()