Class Gateway
- java.lang.Object
-
- software.amazon.awssdk.services.backupgateway.model.Gateway
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Gateway.Builder,Gateway>
@Generated("software.amazon.awssdk:codegen") public final class Gateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Gateway.Builder,Gateway>
A gateway is an Backup Gateway appliance that runs on the customer's network to provide seamless connectivity to backup storage in the Amazon Web Services Cloud.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGateway.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Gateway.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayArn()The Amazon Resource Name (ARN) of the gateway.StringgatewayDisplayName()The display name of the gateway.GatewayTypegatewayType()The type of the gateway.StringgatewayTypeAsString()The type of the gateway.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhypervisorId()The hypervisor ID of the gateway.InstantlastSeenTime()The last time Backup gateway communicated with the gateway, in Unix format and UTC time.List<SdkField<?>>sdkFields()static Class<? extends Gateway.Builder>serializableBuilderClass()Gateway.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
-
gatewayArn
public final String gatewayArn()
The Amazon Resource Name (ARN) of the gateway. Use the
ListGatewaysoperation 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
ListGatewaysoperation to return a list of gateways for your account and Amazon Web Services Region.
-
gatewayDisplayName
public final String gatewayDisplayName()
The display name of the gateway.
- Returns:
- The display name of the gateway.
-
gatewayType
public final GatewayType gatewayType()
The type of the gateway.
If the service returns an enum value that is not available in the current SDK version,
gatewayTypewill returnGatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgatewayTypeAsString().- Returns:
- The type of the gateway.
- See Also:
GatewayType
-
gatewayTypeAsString
public final String gatewayTypeAsString()
The type of the gateway.
If the service returns an enum value that is not available in the current SDK version,
gatewayTypewill returnGatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgatewayTypeAsString().- Returns:
- The type of the gateway.
- See Also:
GatewayType
-
hypervisorId
public final String hypervisorId()
The hypervisor ID of the gateway.
- Returns:
- The hypervisor ID of the gateway.
-
lastSeenTime
public final Instant lastSeenTime()
The last time Backup gateway communicated with the gateway, in Unix format and UTC time.
- Returns:
- The last time Backup gateway communicated with the gateway, in Unix format and UTC time.
-
toBuilder
public Gateway.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Gateway.Builder,Gateway>
-
builder
public static Gateway.Builder builder()
-
serializableBuilderClass
public static Class<? extends Gateway.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.
-
-