|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InternetGateway
public class InternetGateway
Describes an Internet gateway.
Constructor Summary | |
---|---|
InternetGateway()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<InternetGatewayAttachment> |
getAttachments()
Any VPCs attached to the Internet gateway. |
String |
getInternetGatewayId()
The ID of the Internet gateway. |
List<Tag> |
getTags()
Any tags assigned to the Internet gateway. |
int |
hashCode()
|
void |
setAttachments(Collection<InternetGatewayAttachment> attachments)
Any VPCs attached to the Internet gateway. |
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway. |
void |
setTags(Collection<Tag> tags)
Any tags assigned to the Internet gateway. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InternetGateway |
withAttachments(Collection<InternetGatewayAttachment> attachments)
Any VPCs attached to the Internet gateway. |
InternetGateway |
withAttachments(InternetGatewayAttachment... attachments)
Any VPCs attached to the Internet gateway. |
InternetGateway |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway. |
InternetGateway |
withTags(Collection<Tag> tags)
Any tags assigned to the Internet gateway. |
InternetGateway |
withTags(Tag... tags)
Any tags assigned to the Internet gateway. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InternetGateway()
Method Detail |
---|
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The ID of the Internet gateway.public InternetGateway withInternetGatewayId(String internetGatewayId)
Returns a reference to this object so that method calls can be chained together.
internetGatewayId
- The ID of the Internet gateway.
public List<InternetGatewayAttachment> getAttachments()
public void setAttachments(Collection<InternetGatewayAttachment> attachments)
attachments
- Any VPCs attached to the Internet gateway.public InternetGateway withAttachments(InternetGatewayAttachment... attachments)
Returns a reference to this object so that method calls can be chained together.
attachments
- Any VPCs attached to the Internet gateway.
public InternetGateway withAttachments(Collection<InternetGatewayAttachment> attachments)
Returns a reference to this object so that method calls can be chained together.
attachments
- Any VPCs attached to the Internet gateway.
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- Any tags assigned to the Internet gateway.public InternetGateway withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the Internet gateway.
public InternetGateway withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the Internet gateway.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |