@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tape extends Object implements Serializable, Cloneable, StructuredPojo
Describes a virtual tape object.
Constructor and Description |
---|
Tape() |
Modifier and Type | Method and Description |
---|---|
Tape |
clone() |
boolean |
equals(Object obj) |
String |
getKMSKey() |
Date |
getPoolEntryDate()
The date that the tape enters a custom tape pool.
|
String |
getPoolId()
The ID of the pool that contains tapes that will be archived.
|
Double |
getProgress()
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
|
Date |
getRetentionStartDate()
The date that the tape is first archived with tape retention lock enabled.
|
String |
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
|
String |
getTapeBarcode()
The barcode that identifies a specific virtual tape.
|
Date |
getTapeCreatedDate()
The date the virtual tape was created.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tape capacity.
|
String |
getTapeStatus()
The current state of the virtual tape.
|
Long |
getTapeUsedInBytes()
The size, in bytes, of data stored on the virtual tape.
|
String |
getVTLDevice()
The virtual tape library (VTL) device that the virtual tape is associated with.
|
Boolean |
getWorm()
If the tape is archived as write-once-read-many (WORM), this value is
true . |
int |
hashCode() |
Boolean |
isWorm()
If the tape is archived as write-once-read-many (WORM), this value is
true . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKMSKey(String kMSKey) |
void |
setPoolEntryDate(Date poolEntryDate)
The date that the tape enters a custom tape pool.
|
void |
setPoolId(String poolId)
The ID of the pool that contains tapes that will be archived.
|
void |
setProgress(Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
|
void |
setRetentionStartDate(Date retentionStartDate)
The date that the tape is first archived with tape retention lock enabled.
|
void |
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
|
void |
setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
void |
setTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
|
void |
setTapeStatus(String tapeStatus)
The current state of the virtual tape.
|
void |
setTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
|
void |
setVTLDevice(String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
|
void |
setWorm(Boolean worm)
If the tape is archived as write-once-read-many (WORM), this value is
true . |
String |
toString()
Returns a string representation of this object.
|
Tape |
withKMSKey(String kMSKey) |
Tape |
withPoolEntryDate(Date poolEntryDate)
The date that the tape enters a custom tape pool.
|
Tape |
withPoolId(String poolId)
The ID of the pool that contains tapes that will be archived.
|
Tape |
withProgress(Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
|
Tape |
withRetentionStartDate(Date retentionStartDate)
The date that the tape is first archived with tape retention lock enabled.
|
Tape |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
|
Tape |
withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
Tape |
withTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
|
Tape |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
|
Tape |
withTapeStatus(String tapeStatus)
The current state of the virtual tape.
|
Tape |
withTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
|
Tape |
withVTLDevice(String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
|
Tape |
withWorm(Boolean worm)
If the tape is archived as write-once-read-many (WORM), this value is
true . |
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
public Tape withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.public void setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public String getTapeBarcode()
The barcode that identifies a specific virtual tape.
public Tape withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public void setTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
tapeCreatedDate
- The date the virtual tape was created.public Date getTapeCreatedDate()
The date the virtual tape was created.
public Tape withTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
tapeCreatedDate
- The date the virtual tape was created.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 Tape withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape capacity.
tapeSizeInBytes
- The size, in bytes, of the virtual tape capacity.public void setTapeStatus(String tapeStatus)
The current state of the virtual tape.
tapeStatus
- The current state of the virtual tape.public String getTapeStatus()
The current state of the virtual tape.
public Tape withTapeStatus(String tapeStatus)
The current state of the virtual tape.
tapeStatus
- The current state of the virtual tape.public void setVTLDevice(String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
vTLDevice
- The virtual tape library (VTL) device that the virtual tape is associated with.public String getVTLDevice()
The virtual tape library (VTL) device that the virtual tape is associated with.
public Tape withVTLDevice(String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
vTLDevice
- The virtual tape library (VTL) device that the virtual tape is associated with.public void setProgress(Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
progress
- For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is
complete.
Range: 0 (not started) to 100 (complete).
public Double getProgress()
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
Range: 0 (not started) to 100 (complete).
public Tape withProgress(Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
progress
- For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is
complete.
Range: 0 (not started) to 100 (complete).
public void setTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
tapeUsedInBytes
- The size, in bytes, of data stored on the virtual tape. This value is not available for tapes created prior to May 13, 2015.
public Long getTapeUsedInBytes()
The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
This value is not available for tapes created prior to May 13, 2015.
public Tape withTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
tapeUsedInBytes
- The size, in bytes, of data stored on the virtual tape. This value is not available for tapes created prior to May 13, 2015.
public void setKMSKey(String kMSKey)
kMSKey
- public String getKMSKey()
public Tape withKMSKey(String kMSKey)
kMSKey
- public void setPoolId(String poolId)
The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the 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.
poolId
- The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the
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.public String getPoolId()
The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the 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.
public Tape withPoolId(String poolId)
The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the 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.
poolId
- The ID of the pool that contains tapes that will be archived. The tapes in this pool are archived in the
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.public void setWorm(Boolean worm)
If the tape is archived as write-once-read-many (WORM), this value is true
.
worm
- If the tape is archived as write-once-read-many (WORM), this value is true
.public Boolean getWorm()
If the tape is archived as write-once-read-many (WORM), this value is true
.
true
.public Tape withWorm(Boolean worm)
If the tape is archived as write-once-read-many (WORM), this value is true
.
worm
- If the tape is archived as write-once-read-many (WORM), this value is true
.public Boolean isWorm()
If the tape is archived as write-once-read-many (WORM), this value is true
.
true
.public void setRetentionStartDate(Date retentionStartDate)
The date that the tape is first archived with tape retention lock enabled.
retentionStartDate
- The date that the tape is first archived with tape retention lock enabled.public Date getRetentionStartDate()
The date that the tape is first archived with tape retention lock enabled.
public Tape withRetentionStartDate(Date retentionStartDate)
The date that the tape is first archived with tape retention lock enabled.
retentionStartDate
- The date that the tape is first archived with tape retention lock enabled.public void setPoolEntryDate(Date poolEntryDate)
The date that the tape enters a custom tape pool.
poolEntryDate
- The date that the tape enters a custom tape pool.public Date getPoolEntryDate()
The date that the tape enters a custom tape pool.
public Tape withPoolEntryDate(Date poolEntryDate)
The date that the tape enters a custom tape pool.
poolEntryDate
- The date that the tape enters a custom tape pool.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.