@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatedGateway extends Object implements Serializable, Cloneable, StructuredPojo
Information about the associated gateway.
Constructor and Description |
---|
AssociatedGateway() |
Modifier and Type | Method and Description |
---|---|
AssociatedGateway |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the associated gateway.
|
String |
getOwnerAccount()
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
|
String |
getRegion()
The Region where the associated gateway is located.
|
String |
getType()
The type of associated gateway.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the associated gateway.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
|
void |
setRegion(String region)
The Region where the associated gateway is located.
|
void |
setType(String type)
The type of associated gateway.
|
String |
toString()
Returns a string representation of this object.
|
AssociatedGateway |
withId(String id)
The ID of the associated gateway.
|
AssociatedGateway |
withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
|
AssociatedGateway |
withRegion(String region)
The Region where the associated gateway is located.
|
AssociatedGateway |
withType(GatewayType type)
The type of associated gateway.
|
AssociatedGateway |
withType(String type)
The type of associated gateway.
|
public void setId(String id)
The ID of the associated gateway.
id
- The ID of the associated gateway.public String getId()
The ID of the associated gateway.
public AssociatedGateway withId(String id)
The ID of the associated gateway.
id
- The ID of the associated gateway.public void setType(String type)
The type of associated gateway.
type
- The type of associated gateway.GatewayType
public String getType()
The type of associated gateway.
GatewayType
public AssociatedGateway withType(String type)
The type of associated gateway.
type
- The type of associated gateway.GatewayType
public AssociatedGateway withType(GatewayType type)
The type of associated gateway.
type
- The type of associated gateway.GatewayType
public void setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
ownerAccount
- The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit
gateway.public String getOwnerAccount()
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
public AssociatedGateway withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
ownerAccount
- The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit
gateway.public void setRegion(String region)
The Region where the associated gateway is located.
region
- The Region where the associated gateway is located.public String getRegion()
The Region where the associated gateway is located.
public AssociatedGateway withRegion(String region)
The Region where the associated gateway is located.
region
- The Region where the associated gateway is located.public String toString()
toString
in class Object
Object.toString()
public AssociatedGateway clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.