Class GatewayInfo
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.GatewayInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GatewayInfo.Builder,GatewayInfo>
@Generated("software.amazon.awssdk:codegen") public final class GatewayInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GatewayInfo.Builder,GatewayInfo>
Describes a gateway object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGatewayInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GatewayInfo.Builderbuilder()StringdeprecationDate()Date after which this gateway will not receive software updates for new features and bug fixes.Stringec2InstanceId()The ID of the Amazon EC2 instance that was used to launch the gateway.Stringec2InstanceRegion()The Amazon Web Services Region where the Amazon EC2 instance is located.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayARN()The Amazon Resource Name (ARN) of the gateway.StringgatewayId()The unique identifier assigned to your gateway during activation.StringgatewayName()The name of the gateway.StringgatewayOperationalState()The state of the gateway.StringgatewayType()The type of the gateway.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HostEnvironmenthostEnvironment()The type of hardware or software platform on which the gateway is running.StringhostEnvironmentAsString()The type of hardware or software platform on which the gateway is running.StringhostEnvironmentId()A unique identifier for the specific instance of the host platform running the gateway.List<SdkField<?>>sdkFields()static Class<? extends GatewayInfo.Builder>serializableBuilderClass()StringsoftwareVersion()The version number of the software running on the gateway appliance.GatewayInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gatewayId
public 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.
- Returns:
- 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.
-
gatewayARN
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.
- Returns:
- 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.
-
gatewayType
public final String gatewayType()
The type of the gateway.
- Returns:
- The type of the gateway.
-
gatewayOperationalState
public final String gatewayOperationalState()
The state of the gateway.
Valid Values:
DISABLED|ACTIVE- Returns:
- The state of the gateway.
Valid Values:
DISABLED|ACTIVE
-
gatewayName
public final String gatewayName()
The name of the gateway.
- Returns:
- The name of the gateway.
-
ec2InstanceId
public final String ec2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
- Returns:
- The ID of the Amazon EC2 instance that was used to launch the gateway.
-
ec2InstanceRegion
public final String ec2InstanceRegion()
The Amazon Web Services Region where the Amazon EC2 instance is located.
- Returns:
- The Amazon Web Services Region where the Amazon EC2 instance is located.
-
hostEnvironment
public final HostEnvironment hostEnvironment()
The type of hardware or software platform on which the gateway is running.
Tape Gateway is no longer available on Snow Family devices.
If the service returns an enum value that is not available in the current SDK version,
hostEnvironmentwill returnHostEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhostEnvironmentAsString().- Returns:
- The type of hardware or software platform on which the gateway is running.
Tape Gateway is no longer available on Snow Family devices.
- See Also:
HostEnvironment
-
hostEnvironmentAsString
public final String hostEnvironmentAsString()
The type of hardware or software platform on which the gateway is running.
Tape Gateway is no longer available on Snow Family devices.
If the service returns an enum value that is not available in the current SDK version,
hostEnvironmentwill returnHostEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhostEnvironmentAsString().- Returns:
- The type of hardware or software platform on which the gateway is running.
Tape Gateway is no longer available on Snow Family devices.
- See Also:
HostEnvironment
-
hostEnvironmentId
public 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.
- Returns:
- 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.
-
deprecationDate
public final String deprecationDate()
Date after which this gateway will not receive software updates for new features and bug fixes.
- Returns:
- Date after which this gateway will not receive software updates for new features and bug fixes.
-
softwareVersion
public final String softwareVersion()
The version number of the software running on the gateway appliance.
- Returns:
- The version number of the software running on the gateway appliance.
-
toBuilder
public GatewayInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GatewayInfo.Builder,GatewayInfo>
-
builder
public static GatewayInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends GatewayInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-