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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
The minimum number of available virtual tapes that the gateway maintains at all times.final String
poolId()
The ID of the pool that you want to add your tape to for archiving.static Class
<? extends AutomaticTapeCreationRule.Builder> final String
A prefix that you append to the barcode of the virtual tape that you are creating.final Long
The 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 String
toString()
Returns a string representation of this object.final Boolean
worm()
Set totrue
to 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
MinimumNumTapes
on 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
MinimumNumTapes
on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.
-
worm
Set to
true
to indicate that tapes are to be archived as write-once-read-many (WORM). Set tofalse
when WORM is not enabled for tapes.- Returns:
- Set to
true
to indicate that tapes are to be archived as write-once-read-many (WORM). Set tofalse
when WORM is not enabled for tapes.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AutomaticTapeCreationRule.Builder,
AutomaticTapeCreationRule> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-