Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class InternetGateway

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InternetGateway

public class InternetGateway
extends Object

Internet Gateway


Constructor Summary
InternetGateway()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternetGateway

public InternetGateway()
Method Detail

getInternetGatewayId

public String getInternetGatewayId()
Returns the value of the InternetGatewayId property for this object.

Returns:
The value of the InternetGatewayId property for this object.

setInternetGatewayId

public void setInternetGatewayId(String internetGatewayId)
Sets the value of the InternetGatewayId property for this object.

Parameters:
internetGatewayId - The new value for the InternetGatewayId property for this object.

withInternetGatewayId

public InternetGateway withInternetGatewayId(String internetGatewayId)
Sets the value of the InternetGatewayId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
internetGatewayId - The new value for the InternetGatewayId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachments

public List<InternetGatewayAttachment> getAttachments()
Returns the value of the Attachments property for this object.

Returns:
The value of the Attachments property for this object.

setAttachments

public void setAttachments(Collection<InternetGatewayAttachment> attachments)
Sets the value of the Attachments property for this object.

Parameters:
attachments - The new value for the Attachments property for this object.

withAttachments

public InternetGateway withAttachments(InternetGatewayAttachment... attachments)
Sets the value of the Attachments property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachments - The new value for the Attachments property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttachments

public InternetGateway withAttachments(Collection<InternetGatewayAttachment> attachments)
Sets the value of the Attachments property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachments - The new value for the Attachments property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public List<Tag> getTags()
Returns the value of the Tags property for this object.

Returns:
The value of the Tags property for this object.

setTags

public void setTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Parameters:
tags - The new value for the Tags property for this object.

withTags

public InternetGateway withTags(Tag... tags)
Sets the value of the Tags property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - The new value for the Tags property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public InternetGateway withTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - The new value for the Tags property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.