@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 AWS 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 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 String gatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and AWS Region.
public String gatewayType()
The type of the gateway.
public String gatewayOperationalState()
The state of the gateway.
Valid Values: DISABLED or ACTIVE
Valid Values: DISABLED or ACTIVE
public String gatewayName()
The name of the gateway.
public String ec2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
public String ec2InstanceRegion()
The AWS 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.