@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EgressOnlyInternetGateway extends Object implements Serializable, Cloneable
Describes an egress-only internet gateway.
| Constructor and Description |
|---|
EgressOnlyInternetGateway() |
| Modifier and Type | Method and Description |
|---|---|
EgressOnlyInternetGateway |
clone() |
boolean |
equals(Object obj) |
List<InternetGatewayAttachment> |
getAttachments()
Information about the attachment of the egress-only internet gateway.
|
String |
getEgressOnlyInternetGatewayId()
The ID of the egress-only internet gateway.
|
List<Tag> |
getTags()
The tags assigned to the egress-only internet gateway.
|
int |
hashCode() |
void |
setAttachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only internet gateway.
|
void |
setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.
|
String |
toString()
Returns a string representation of this object.
|
EgressOnlyInternetGateway |
withAttachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only internet gateway.
|
EgressOnlyInternetGateway |
withAttachments(InternetGatewayAttachment... attachments)
Information about the attachment of the egress-only internet gateway.
|
EgressOnlyInternetGateway |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
|
EgressOnlyInternetGateway |
withTags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.
|
EgressOnlyInternetGateway |
withTags(Tag... tags)
The tags assigned to the egress-only internet gateway.
|
public List<InternetGatewayAttachment> getAttachments()
Information about the attachment of the egress-only internet gateway.
public void setAttachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only internet gateway.
attachments - Information about the attachment of the egress-only internet gateway.public EgressOnlyInternetGateway withAttachments(InternetGatewayAttachment... attachments)
Information about the attachment of the egress-only internet gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection) or withAttachments(java.util.Collection) if you want to
override the existing values.
attachments - Information about the attachment of the egress-only internet gateway.public EgressOnlyInternetGateway withAttachments(Collection<InternetGatewayAttachment> attachments)
Information about the attachment of the egress-only internet gateway.
attachments - Information about the attachment of the egress-only internet gateway.public void setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
egressOnlyInternetGatewayId - The ID of the egress-only internet gateway.public String getEgressOnlyInternetGatewayId()
The ID of the egress-only internet gateway.
public EgressOnlyInternetGateway withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
egressOnlyInternetGatewayId - The ID of the egress-only internet gateway.public List<Tag> getTags()
The tags assigned to the egress-only internet gateway.
public void setTags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.
tags - The tags assigned to the egress-only internet gateway.public EgressOnlyInternetGateway withTags(Tag... tags)
The tags assigned to the egress-only internet 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 egress-only internet gateway.public EgressOnlyInternetGateway withTags(Collection<Tag> tags)
The tags assigned to the egress-only internet gateway.
tags - The tags assigned to the egress-only internet gateway.public String toString()
toString in class ObjectObject.toString()public EgressOnlyInternetGateway clone()