@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CarrierGateway extends Object implements Serializable, Cloneable
Describes a carrier gateway.
Constructor and Description |
---|
CarrierGateway() |
Modifier and Type | Method and Description |
---|---|
CarrierGateway |
clone() |
boolean |
equals(Object obj) |
String |
getCarrierGatewayId()
The ID of the carrier gateway.
|
String |
getOwnerId()
The Amazon Web Services account ID of the owner of the carrier gateway.
|
String |
getState()
The state of the carrier gateway.
|
List<Tag> |
getTags()
The tags assigned to the carrier gateway.
|
String |
getVpcId()
The ID of the VPC associated with the carrier gateway.
|
int |
hashCode() |
void |
setCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
|
void |
setState(String state)
The state of the carrier gateway.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
|
void |
setVpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
|
String |
toString()
Returns a string representation of this object.
|
CarrierGateway |
withCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
CarrierGateway |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
|
CarrierGateway |
withState(CarrierGatewayState state)
The state of the carrier gateway.
|
CarrierGateway |
withState(String state)
The state of the carrier gateway.
|
CarrierGateway |
withTags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
|
CarrierGateway |
withTags(Tag... tags)
The tags assigned to the carrier gateway.
|
CarrierGateway |
withVpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
|
public void setCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
carrierGatewayId
- The ID of the carrier gateway.public String getCarrierGatewayId()
The ID of the carrier gateway.
public CarrierGateway withCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
carrierGatewayId
- The ID of the carrier gateway.public void setVpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
vpcId
- The ID of the VPC associated with the carrier gateway.public String getVpcId()
The ID of the VPC associated with the carrier gateway.
public CarrierGateway withVpcId(String vpcId)
The ID of the VPC associated with the carrier gateway.
vpcId
- The ID of the VPC associated with the carrier gateway.public void setState(String state)
The state of the carrier gateway.
state
- The state of the carrier gateway.CarrierGatewayState
public String getState()
The state of the carrier gateway.
CarrierGatewayState
public CarrierGateway withState(String state)
The state of the carrier gateway.
state
- The state of the carrier gateway.CarrierGatewayState
public CarrierGateway withState(CarrierGatewayState state)
The state of the carrier gateway.
state
- The state of the carrier gateway.CarrierGatewayState
public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
ownerId
- The Amazon Web Services account ID of the owner of the carrier gateway.public String getOwnerId()
The Amazon Web Services account ID of the owner of the carrier gateway.
public CarrierGateway withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the carrier gateway.
ownerId
- The Amazon Web Services account ID of the owner of the carrier gateway.public List<Tag> getTags()
The tags assigned to the carrier gateway.
public void setTags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
tags
- The tags assigned to the carrier gateway.public CarrierGateway withTags(Tag... tags)
The tags assigned to the carrier 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 carrier gateway.public CarrierGateway withTags(Collection<Tag> tags)
The tags assigned to the carrier gateway.
tags
- The tags assigned to the carrier gateway.public String toString()
toString
in class Object
Object.toString()
public CarrierGateway clone()