@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
AutomaticTapeCreationRule.Builder |
Modifier and Type | Method and Description |
---|---|
static AutomaticTapeCreationRule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
minimumNumTapes()
The minimum number of available virtual tapes that the gateway maintains at all times.
|
String |
poolId()
The ID of the pool that you want to add your tape to for archiving.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutomaticTapeCreationRule.Builder> |
serializableBuilderClass() |
String |
tapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape that you are creating.
|
Long |
tapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
|
AutomaticTapeCreationRule.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Boolean |
worm()
Set to
true to indicate that tapes are to be archived as write-once-read-many (WORM). |
copy
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.
The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.
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.
Valid Values: GLACIER
| DEEP_ARCHIVE
Valid Values: GLACIER
| DEEP_ARCHIVE
public final Long tapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
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
MinimumNumTapes
on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.
MinimumNumTapes
on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.public final Boolean worm()
Set to true
to indicate that tapes are to be archived as write-once-read-many (WORM). Set to
false
when WORM is not enabled for tapes.
true
to indicate that tapes are to be archived as write-once-read-many (WORM). Set to
false
when WORM is not enabled for tapes.public AutomaticTapeCreationRule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutomaticTapeCreationRule.Builder,AutomaticTapeCreationRule>
public static AutomaticTapeCreationRule.Builder builder()
public static Class<? extends AutomaticTapeCreationRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.