Class PoolInfo
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.PoolInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PoolInfo.Builder,PoolInfo>
@Generated("software.amazon.awssdk:codegen") public final class PoolInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PoolInfo.Builder,PoolInfo>
Describes a custom tape pool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePoolInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PoolInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpoolARN()The Amazon Resource Name (ARN) of the custom tape pool.StringpoolName()The name of the custom tape pool.PoolStatuspoolStatus()Status of the custom tape pool.StringpoolStatusAsString()Status of the custom tape pool.IntegerretentionLockTimeInDays()Tape retention lock time is set in days.RetentionLockTyperetentionLockType()Tape retention lock type, which can be configured in two modes.StringretentionLockTypeAsString()Tape retention lock type, which can be configured in two modes.List<SdkField<?>>sdkFields()static Class<? extends PoolInfo.Builder>serializableBuilderClass()TapeStorageClassstorageClass()The storage class that is associated with the custom pool.StringstorageClassAsString()The storage class that is associated with the custom pool.PoolInfo.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
-
poolARN
public final String poolARN()
The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your account and Amazon Web Services Region.
- Returns:
- The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your account and Amazon Web Services Region.
-
poolName
public final String poolName()
The name of the custom tape pool.
PoolNamecan use all ASCII characters, except '/' and '\'.- Returns:
- The name of the custom tape pool.
PoolNamecan use all ASCII characters, except '/' and '\'.
-
storageClass
public final TapeStorageClass storageClass()
The storage class that is associated with the custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnTapeStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class that is associated with the custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
- See Also:
TapeStorageClass
-
storageClassAsString
public final String storageClassAsString()
The storage class that is associated with the custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnTapeStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class that is associated with the custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
- See Also:
TapeStorageClass
-
retentionLockType
public final RetentionLockType retentionLockType()
Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
If the service returns an enum value that is not available in the current SDK version,
retentionLockTypewill returnRetentionLockType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretentionLockTypeAsString().- Returns:
- Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
- See Also:
RetentionLockType
-
retentionLockTypeAsString
public final String retentionLockTypeAsString()
Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
If the service returns an enum value that is not available in the current SDK version,
retentionLockTypewill returnRetentionLockType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretentionLockTypeAsString().- Returns:
- Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
- See Also:
RetentionLockType
-
retentionLockTimeInDays
public final Integer retentionLockTimeInDays()
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
- Returns:
- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
-
poolStatus
public final PoolStatus poolStatus()
Status of the custom tape pool. Pool can be
ACTIVEorDELETED.If the service returns an enum value that is not available in the current SDK version,
poolStatuswill returnPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompoolStatusAsString().- Returns:
- Status of the custom tape pool. Pool can be
ACTIVEorDELETED. - See Also:
PoolStatus
-
poolStatusAsString
public final String poolStatusAsString()
Status of the custom tape pool. Pool can be
ACTIVEorDELETED.If the service returns an enum value that is not available in the current SDK version,
poolStatuswill returnPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompoolStatusAsString().- Returns:
- Status of the custom tape pool. Pool can be
ACTIVEorDELETED. - See Also:
PoolStatus
-
toBuilder
public PoolInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PoolInfo.Builder,PoolInfo>
-
builder
public static PoolInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends PoolInfo.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.
-
-