public class TapeArchive extends Object implements Serializable
Represents a virtual tape that is archived in the Virtual Tape Shelf (VTS).
Constructor and Description |
---|
TapeArchive() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCompletionTime()
The time that the archiving of the virtual tape was completed.
|
String |
getRetrievedTo()
The Amazon Resource Name (ARN) of the Gateway-Virtual Tape Library
that the virtual tape is being retrieved to.
|
String |
getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
|
String |
getTapeBarcode()
The barcode that identifies the archived virtual tape.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
|
String |
getTapeStatus()
The current state of the archived virtual tape.
|
int |
hashCode() |
void |
setCompletionTime(Date completionTime)
The time that the archiving of the virtual tape was completed.
|
void |
setRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the Gateway-Virtual Tape Library
that the virtual tape is being retrieved to.
|
void |
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
void |
setTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
void |
setTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TapeArchive |
withCompletionTime(Date completionTime)
The time that the archiving of the virtual tape was completed.
|
TapeArchive |
withRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the Gateway-Virtual Tape Library
that the virtual tape is being retrieved to.
|
TapeArchive |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
TapeArchive |
withTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
TapeArchive |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
TapeArchive |
withTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
|
public String getTapeARN()
Constraints:
Length: 50 - 500
public void setTapeARN(String tapeARN)
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.public TapeArchive withTapeARN(String tapeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.public String getTapeBarcode()
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
public void setTapeBarcode(String tapeBarcode)
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
tapeBarcode
- The barcode that identifies the archived virtual tape.public TapeArchive withTapeBarcode(String tapeBarcode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
tapeBarcode
- The barcode that identifies the archived virtual tape.public Long getTapeSizeInBytes()
Constraints:
Range: 107374182400 - 2748779069440
public void setTapeSizeInBytes(Long tapeSizeInBytes)
Constraints:
Range: 107374182400 - 2748779069440
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public TapeArchive withTapeSizeInBytes(Long tapeSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 107374182400 - 2748779069440
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public Date getCompletionTime()
The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
public void setCompletionTime(Date completionTime)
The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
completionTime
- The time that the archiving of the virtual tape was completed. The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
public TapeArchive withCompletionTime(Date completionTime)
The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
Returns a reference to this object so that method calls can be chained together.
completionTime
- The time that the archiving of the virtual tape was completed. The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
public String getRetrievedTo()
The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
Constraints:
Length: 50 - 500
The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
public void setRetrievedTo(String retrievedTo)
The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
Constraints:
Length: 50 - 500
retrievedTo
- The Amazon Resource Name (ARN) of the Gateway-Virtual Tape Library
that the virtual tape is being retrieved to. The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
public TapeArchive withRetrievedTo(String retrievedTo)
The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
retrievedTo
- The Amazon Resource Name (ARN) of the Gateway-Virtual Tape Library
that the virtual tape is being retrieved to. The virtual tape is retrieved from the Virtual Tape Shelf (VTS).
public String getTapeStatus()
public void setTapeStatus(String tapeStatus)
tapeStatus
- The current state of the archived virtual tape.public TapeArchive withTapeStatus(String tapeStatus)
Returns a reference to this object so that method calls can be chained together.
tapeStatus
- The current state of the archived virtual tape.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.