public class InternetGateway extends Object implements Serializable
Constructor and Description |
---|
InternetGateway() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InternetGatewayAttachment> |
getAttachments()
Returns the value of the Attachments property for this object.
|
String |
getInternetGatewayId()
Returns the value of the InternetGatewayId property for this object.
|
List<Tag> |
getTags()
Returns the value of the Tags property for this object.
|
int |
hashCode() |
void |
setAttachments(Collection<InternetGatewayAttachment> attachments)
Sets the value of the Attachments property for this object.
|
void |
setInternetGatewayId(String internetGatewayId)
Sets the value of the InternetGatewayId property for this object.
|
void |
setTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InternetGateway |
withAttachments(Collection<InternetGatewayAttachment> attachments)
Sets the value of the Attachments property for this object.
|
InternetGateway |
withAttachments(InternetGatewayAttachment... attachments)
Sets the value of the Attachments property for this object.
|
InternetGateway |
withInternetGatewayId(String internetGatewayId)
Sets the value of the InternetGatewayId property for this object.
|
InternetGateway |
withTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
InternetGateway |
withTags(Tag... tags)
Sets the value of the Tags property for this object.
|
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The new value for the InternetGatewayId property for this object.public InternetGateway withInternetGatewayId(String internetGatewayId)
Returns a reference to this object so that method calls can be chained together.
internetGatewayId
- The new value for the InternetGatewayId property for this object.public List<InternetGatewayAttachment> getAttachments()
public void setAttachments(Collection<InternetGatewayAttachment> attachments)
attachments
- The new value for the Attachments property for this object.public InternetGateway withAttachments(InternetGatewayAttachment... attachments)
Returns a reference to this object so that method calls can be chained together.
attachments
- The new value for the Attachments property for this object.public InternetGateway withAttachments(Collection<InternetGatewayAttachment> attachments)
Returns a reference to this object so that method calls can be chained together.
attachments
- The new value for the Attachments property for this object.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.public InternetGateway withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public InternetGateway withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.