@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGateway extends Object implements Serializable, Cloneable
Describes a transit gateway.
Constructor and Description |
---|
TransitGateway() |
Modifier and Type | Method and Description |
---|---|
TransitGateway |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The creation time.
|
String |
getDescription()
The description of the transit gateway.
|
TransitGatewayOptions |
getOptions()
The transit gateway options.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the transit gateway.
|
String |
getState()
The state of the transit gateway.
|
List<Tag> |
getTags()
The tags for the transit gateway.
|
String |
getTransitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The creation time.
|
void |
setDescription(String description)
The description of the transit gateway.
|
void |
setOptions(TransitGatewayOptions options)
The transit gateway options.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
|
void |
setState(String state)
The state of the transit gateway.
|
void |
setTags(Collection<Tag> tags)
The tags for the transit gateway.
|
void |
setTransitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
String |
toString()
Returns a string representation of this object.
|
TransitGateway |
withCreationTime(Date creationTime)
The creation time.
|
TransitGateway |
withDescription(String description)
The description of the transit gateway.
|
TransitGateway |
withOptions(TransitGatewayOptions options)
The transit gateway options.
|
TransitGateway |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
|
TransitGateway |
withState(String state)
The state of the transit gateway.
|
TransitGateway |
withState(TransitGatewayState state)
The state of the transit gateway.
|
TransitGateway |
withTags(Collection<Tag> tags)
The tags for the transit gateway.
|
TransitGateway |
withTags(Tag... tags)
The tags for the transit gateway.
|
TransitGateway |
withTransitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
|
TransitGateway |
withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
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 TransitGateway withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public void setTransitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
transitGatewayArn
- The Amazon Resource Name (ARN) of the transit gateway.public String getTransitGatewayArn()
The Amazon Resource Name (ARN) of the transit gateway.
public TransitGateway withTransitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
transitGatewayArn
- The Amazon Resource Name (ARN) of the transit gateway.public void setState(String state)
The state of the transit gateway.
state
- The state of the transit gateway.TransitGatewayState
public String getState()
The state of the transit gateway.
TransitGatewayState
public TransitGateway withState(String state)
The state of the transit gateway.
state
- The state of the transit gateway.TransitGatewayState
public TransitGateway withState(TransitGatewayState state)
The state of the transit gateway.
state
- The state of the transit gateway.TransitGatewayState
public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
ownerId
- The ID of the Amazon Web Services account that owns the transit gateway.public String getOwnerId()
The ID of the Amazon Web Services account that owns the transit gateway.
public TransitGateway withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
ownerId
- The ID of the Amazon Web Services account that owns the transit gateway.public void setDescription(String description)
The description of the transit gateway.
description
- The description of the transit gateway.public String getDescription()
The description of the transit gateway.
public TransitGateway withDescription(String description)
The description of the transit gateway.
description
- The description of the transit gateway.public void setCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public Date getCreationTime()
The creation time.
public TransitGateway withCreationTime(Date creationTime)
The creation time.
creationTime
- The creation time.public void setOptions(TransitGatewayOptions options)
The transit gateway options.
options
- The transit gateway options.public TransitGatewayOptions getOptions()
The transit gateway options.
public TransitGateway withOptions(TransitGatewayOptions options)
The transit gateway options.
options
- The transit gateway options.public List<Tag> getTags()
The tags for the transit gateway.
public void setTags(Collection<Tag> tags)
The tags for the transit gateway.
tags
- The tags for the transit gateway.public TransitGateway withTags(Tag... tags)
The tags for the transit gateway.
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
- The tags for the transit gateway.public TransitGateway withTags(Collection<Tag> tags)
The tags for the transit gateway.
tags
- The tags for the transit gateway.public String toString()
toString
in class Object
Object.toString()
public TransitGateway clone()