@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) |
boolean |
hasAttachments()
Returns true if the Attachments property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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, waitcopypublic final boolean hasAttachments()
public final List<InternetGatewayAttachment> attachments()
Any VPCs attached to the internet gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttachments() to see if a value was sent in this field.
public final String internetGatewayId()
The ID of the internet gateway.
public final String ownerId()
The ID of the AWS account that owns the internet gateway.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the internet gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public InternetGateway.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InternetGateway.Builder,InternetGateway>public static InternetGateway.Builder builder()
public static Class<? extends InternetGateway.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.