@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomaticTapeCreationRule extends Object implements Serializable, Cloneable, StructuredPojo
An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes.
Constructor and Description |
---|
AutomaticTapeCreationRule() |
Modifier and Type | Method and Description |
---|---|
AutomaticTapeCreationRule |
clone() |
boolean |
equals(Object obj) |
Integer |
getMinimumNumTapes()
The minimum number of available virtual tapes that the gateway maintains at all times.
|
String |
getPoolId()
The ID of the pool that you want to add your tape to for archiving.
|
String |
getTapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape that you are creating.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMinimumNumTapes(Integer minimumNumTapes)
The minimum number of available virtual tapes that the gateway maintains at all times.
|
void |
setPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving.
|
void |
setTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape that you are creating.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
|
String |
toString()
Returns a string representation of this object.
|
AutomaticTapeCreationRule |
withMinimumNumTapes(Integer minimumNumTapes)
The minimum number of available virtual tapes that the gateway maintains at all times.
|
AutomaticTapeCreationRule |
withPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving.
|
AutomaticTapeCreationRule |
withTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape that you are creating.
|
AutomaticTapeCreationRule |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
|
public void setTapeBarcodePrefix(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.
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.
public String getTapeBarcodePrefix()
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 AutomaticTapeCreationRule withTapeBarcodePrefix(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.
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.
public void setPoolId(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"
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"
public String getPoolId()
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 AutomaticTapeCreationRule withPoolId(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"
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"
public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
tapeSizeInBytes
- The size, in bytes, of the virtual tape capacity.public Long getTapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
public AutomaticTapeCreationRule withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
tapeSizeInBytes
- The size, in bytes, of the virtual tape capacity.public void setMinimumNumTapes(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.
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.public Integer getMinimumNumTapes()
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.
MinimumNumTapes
on the gateway.public AutomaticTapeCreationRule withMinimumNumTapes(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.
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.public String toString()
toString
in class Object
Object.toString()
public AutomaticTapeCreationRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.