Class InternetGateway
- All Implemented Interfaces:
Serializable, Cloneable
Describes an Internet gateway.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanAny VPCs attached to the Internet gateway.The ID of the Internet gateway.getTags()Any tags assigned to the Internet gateway.inthashCode()voidsetAttachments(Collection<InternetGatewayAttachment> attachments) Any VPCs attached to the Internet gateway.voidsetInternetGatewayId(String internetGatewayId) The ID of the Internet gateway.voidsetTags(Collection<Tag> tags) Any tags assigned to the Internet gateway.toString()Returns a string representation of this object; useful for testing and debugging.withAttachments(InternetGatewayAttachment... attachments) Any VPCs attached to the Internet gateway.withAttachments(Collection<InternetGatewayAttachment> attachments) Any VPCs attached to the Internet gateway.withInternetGatewayId(String internetGatewayId) The ID of the Internet gateway.Any tags assigned to the Internet gateway.withTags(Collection<Tag> tags) Any tags assigned to the Internet gateway.
-
Constructor Details
-
InternetGateway
public InternetGateway()
-
-
Method Details
-
setInternetGatewayId
The ID of the Internet gateway.
- Parameters:
internetGatewayId- The ID of the Internet gateway.
-
getInternetGatewayId
The ID of the Internet gateway.
- Returns:
- The ID of the Internet gateway.
-
withInternetGatewayId
The ID of the Internet gateway.
- Parameters:
internetGatewayId- The ID of the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttachments
Any VPCs attached to the Internet gateway.
- Returns:
- Any VPCs attached to the Internet gateway.
-
setAttachments
Any VPCs attached to the Internet gateway.
- Parameters:
attachments- Any VPCs attached to the Internet gateway.
-
withAttachments
Any VPCs attached to the Internet gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)orwithAttachments(java.util.Collection)if you want to override the existing values.- Parameters:
attachments- Any VPCs attached to the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttachments
Any VPCs attached to the Internet gateway.
- Parameters:
attachments- Any VPCs attached to the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
-
setTags
Any tags assigned to the Internet gateway.
- Parameters:
tags- Any tags assigned to the Internet gateway.
-
withTags
Any tags assigned to the Internet gateway.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- Any tags assigned to the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the Internet gateway.
- Parameters:
tags- Any tags assigned to the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-