@Generated(value="software.amazon.awssdk:codegen") public class InternetGateway extends Object implements ToCopyableBuilder<InternetGateway.Builder,InternetGateway>
Describes an Internet gateway.
Modifier and Type | Class and Description |
---|---|
static interface |
InternetGateway.Builder |
Modifier and Type | Method and Description |
---|---|
List<InternetGatewayAttachment> |
attachments()
Any VPCs attached to the Internet gateway.
|
static InternetGateway.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
internetGatewayId()
The ID of the Internet gateway.
|
static Class<? extends InternetGateway.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the Internet gateway.
|
InternetGateway.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<InternetGatewayAttachment> attachments()
Any VPCs attached to the Internet gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String internetGatewayId()
The ID of the Internet gateway.
public List<Tag> tags()
Any tags assigned to the Internet gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InternetGateway.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InternetGateway.Builder,InternetGateway>
public static InternetGateway.Builder builder()
public static Class<? extends InternetGateway.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.