@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerGatewayAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the association between a customer gateway, a device, and a link.
Constructor and Description |
---|
CustomerGatewayAssociation() |
Modifier and Type | Method and Description |
---|---|
CustomerGatewayAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getCustomerGatewayArn()
The Amazon Resource Name (ARN) of the customer gateway.
|
String |
getDeviceId()
The ID of the device.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getLinkId()
The ID of the link.
|
String |
getState()
The association state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerGatewayArn(String customerGatewayArn)
The Amazon Resource Name (ARN) of the customer gateway.
|
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkId(String linkId)
The ID of the link.
|
void |
setState(String state)
The association state.
|
String |
toString()
Returns a string representation of this object.
|
CustomerGatewayAssociation |
withCustomerGatewayArn(String customerGatewayArn)
The Amazon Resource Name (ARN) of the customer gateway.
|
CustomerGatewayAssociation |
withDeviceId(String deviceId)
The ID of the device.
|
CustomerGatewayAssociation |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
CustomerGatewayAssociation |
withLinkId(String linkId)
The ID of the link.
|
CustomerGatewayAssociation |
withState(CustomerGatewayAssociationState state)
The association state.
|
CustomerGatewayAssociation |
withState(String state)
The association state.
|
public void setCustomerGatewayArn(String customerGatewayArn)
The Amazon Resource Name (ARN) of the customer gateway.
customerGatewayArn
- The Amazon Resource Name (ARN) of the customer gateway.public String getCustomerGatewayArn()
The Amazon Resource Name (ARN) of the customer gateway.
public CustomerGatewayAssociation withCustomerGatewayArn(String customerGatewayArn)
The Amazon Resource Name (ARN) of the customer gateway.
customerGatewayArn
- The Amazon Resource Name (ARN) of the customer gateway.public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public CustomerGatewayAssociation withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public CustomerGatewayAssociation withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public String getLinkId()
The ID of the link.
public CustomerGatewayAssociation withLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public void setState(String state)
The association state.
state
- The association state.CustomerGatewayAssociationState
public String getState()
The association state.
CustomerGatewayAssociationState
public CustomerGatewayAssociation withState(String state)
The association state.
state
- The association state.CustomerGatewayAssociationState
public CustomerGatewayAssociation withState(CustomerGatewayAssociationState state)
The association state.
state
- The association state.CustomerGatewayAssociationState
public String toString()
toString
in class Object
Object.toString()
public CustomerGatewayAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.