@Generated(value="software.amazon.awssdk:codegen") public final class InternetGateway extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
internetGatewayId()
The ID of the internet gateway.
|
String |
ownerId()
The ID of the AWS account that owns the internet gateway.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InternetGateway.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the internet gateway.
|
InternetGateway.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 String ownerId()
The ID of the AWS account that owns 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()
toBuilder
in interface ToCopyableBuilder<InternetGateway.Builder,InternetGateway>
public static InternetGateway.Builder builder()
public static Class<? extends InternetGateway.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.