@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalGateway extends Object implements Serializable, Cloneable
Describes a local gateway.
Constructor and Description |
---|
LocalGateway() |
Modifier and Type | Method and Description |
---|---|
LocalGateway |
clone() |
boolean |
equals(Object obj) |
String |
getLocalGatewayId()
The ID of the local gateway.
|
String |
getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway.
|
String |
getState()
The state of the local gateway.
|
List<Tag> |
getTags()
The tags assigned to the local gateway.
|
int |
hashCode() |
void |
setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
void |
setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway.
|
void |
setState(String state)
The state of the local gateway.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the local gateway.
|
String |
toString()
Returns a string representation of this object.
|
LocalGateway |
withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
LocalGateway |
withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
LocalGateway |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway.
|
LocalGateway |
withState(String state)
The state of the local gateway.
|
LocalGateway |
withTags(Collection<Tag> tags)
The tags assigned to the local gateway.
|
LocalGateway |
withTags(Tag... tags)
The tags assigned to the local gateway.
|
public void setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public String getLocalGatewayId()
The ID of the local gateway.
public LocalGateway withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public void setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.public String getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
public LocalGateway withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway.public String getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway.
public LocalGateway withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway.public void setState(String state)
The state of the local gateway.
state
- The state of the local gateway.public String getState()
The state of the local gateway.
public LocalGateway withState(String state)
The state of the local gateway.
state
- The state of the local gateway.public List<Tag> getTags()
The tags assigned to the local gateway.
public void setTags(Collection<Tag> tags)
The tags assigned to the local gateway.
tags
- The tags assigned to the local gateway.public LocalGateway withTags(Tag... tags)
The tags assigned to the local 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 assigned to the local gateway.public LocalGateway withTags(Collection<Tag> tags)
The tags assigned to the local gateway.
tags
- The tags assigned to the local gateway.public String toString()
toString
in class Object
Object.toString()
public LocalGateway clone()