@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 Amazon Web Services 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() |
HostEnvironment |
hostEnvironment()
The type of hardware or software platform on which the gateway is running.
|
String |
hostEnvironmentAsString()
The type of hardware or software platform on which the gateway is running.
|
String |
hostEnvironmentId()
A unique identifier for the specific instance of the host platform running the gateway.
|
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 Amazon Web Services 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 Amazon Web Services Region where the Amazon EC2 instance is located.
public final HostEnvironment hostEnvironment()
The type of hardware or software platform on which the gateway is running.
If the service returns an enum value that is not available in the current SDK version, hostEnvironment
will return HostEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hostEnvironmentAsString().
HostEnvironmentpublic final String hostEnvironmentAsString()
The type of hardware or software platform on which the gateway is running.
If the service returns an enum value that is not available in the current SDK version, hostEnvironment
will return HostEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hostEnvironmentAsString().
HostEnvironmentpublic final String hostEnvironmentId()
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
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 © 2022. All rights reserved.