Class AutomaticTapeCreationRule
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.AutomaticTapeCreationRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomaticTapeCreationRule.Builder,AutomaticTapeCreationRule>
@Generated("software.amazon.awssdk:codegen") public final class AutomaticTapeCreationRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomaticTapeCreationRule.Builder,AutomaticTapeCreationRule>
An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomaticTapeCreationRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomaticTapeCreationRule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerminimumNumTapes()The minimum number of available virtual tapes that the gateway maintains at all times.StringpoolId()The ID of the pool that you want to add your tape to for archiving.List<SdkField<?>>sdkFields()static Class<? extends AutomaticTapeCreationRule.Builder>serializableBuilderClass()StringtapeBarcodePrefix()A prefix that you append to the barcode of the virtual tape that you are creating.LongtapeSizeInBytes()The size, in bytes, of the virtual tape capacity.AutomaticTapeCreationRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.Booleanworm()Set totrueto indicate that tapes are to be archived as write-once-read-many (WORM).-
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
-
tapeBarcodePrefix
public final String tapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.
The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.
- Returns:
- A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the
barcode unique.
The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.
-
poolId
public final String poolId()
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the 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.
- Returns:
- The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the 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.
-
tapeSizeInBytes
public final Long tapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
- Returns:
- The size, in bytes, of the virtual tape capacity.
-
minimumNumTapes
public final Integer minimumNumTapes()
The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have
MinimumNumTapeson the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.- Returns:
- The minimum number of available virtual tapes that the gateway maintains at all times. If the number of
tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have
MinimumNumTapeson the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.
-
worm
public final Boolean worm()
Set to
trueto indicate that tapes are to be archived as write-once-read-many (WORM). Set tofalsewhen WORM is not enabled for tapes.- Returns:
- Set to
trueto indicate that tapes are to be archived as write-once-read-many (WORM). Set tofalsewhen WORM is not enabled for tapes.
-
toBuilder
public AutomaticTapeCreationRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomaticTapeCreationRule.Builder,AutomaticTapeCreationRule>
-
builder
public static AutomaticTapeCreationRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomaticTapeCreationRule.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.
-
-