Class AutomaticTapeCreationRule
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe minimum number of available virtual tapes that the gateway maintains at all times.final StringpoolId()The ID of the pool that you want to add your tape to for archiving.static Class<? extends AutomaticTapeCreationRule.Builder> final StringA prefix that you append to the barcode of the virtual tape that you are creating.final LongThe size, in bytes, of the virtual tape capacity.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Booleanworm()Set totrueto indicate that tapes are to be archived as write-once-read-many (WORM).Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
The size, in bytes, of the virtual tape capacity.
- Returns:
- The size, in bytes, of the virtual tape capacity.
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomaticTapeCreationRule.Builder,AutomaticTapeCreationRule> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-