@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.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public EgressOnlyInternetGateway clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.