@Generated(value="software.amazon.awssdk:codegen") public final class GatewayInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GatewayInfo.Builder,GatewayInfo>
Describes a gateway object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GatewayInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GatewayInfo.Builder |
builder() |
String |
ec2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
|
String |
ec2InstanceRegion()
The Region where the Amazon EC2 instance is located.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
String |
gatewayId()
The unique identifier assigned to your gateway during activation.
|
String |
gatewayName()
The name of the gateway.
|
String |
gatewayOperationalState()
The state of the gateway.
|
String |
gatewayType()
The type of the gateway.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GatewayInfo.Builder> |
serializableBuilderClass() |
GatewayInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gatewayId()
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
public final String gatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Region.
public final String gatewayType()
The type of the gateway.
public final String gatewayOperationalState()
The state of the gateway.
Valid Values: DISABLED | ACTIVE
Valid Values: DISABLED | ACTIVE
public final String gatewayName()
The name of the gateway.
public final String ec2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
public final String ec2InstanceRegion()
The Region where the Amazon EC2 instance is located.
public GatewayInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GatewayInfo.Builder,GatewayInfo>public static GatewayInfo.Builder builder()
public static Class<? extends GatewayInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.