Class TapeArchive
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.TapeArchive
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TapeArchive extends Object implements Serializable, Cloneable
Represents a virtual tape that is archived in the virtual tape shelf (VTS).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TapeArchive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapeArchive
clone()
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-VTL 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-VTL 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-VTL 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.
-
-
-
Method Detail
-
setTapeARN
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.
-
getTapeARN
public String getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of an archived virtual tape.
-
withTapeARN
public TapeArchive withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeBarcode
public void setTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies the archived virtual tape.
-
getTapeBarcode
public String getTapeBarcode()
The barcode that identifies the archived virtual tape.
- Returns:
- The barcode that identifies the archived virtual tape.
-
withTapeBarcode
public TapeArchive withTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeSizeInBytes
public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.
-
getTapeSizeInBytes
public Long getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
- Returns:
- The size, in bytes, of the archived virtual tape.
-
withTapeSizeInBytes
public TapeArchive withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompletionTime
public void setCompletionTime(Date 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.
- Parameters:
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.
-
getCompletionTime
public Date getCompletionTime()
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.
- Returns:
- 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.
-
withCompletionTime
public TapeArchive withCompletionTime(Date 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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetrievedTo
public void setRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
- Parameters:
retrievedTo
- The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.The virtual tape is retrieved from the virtual tape shelf (VTS).
-
getRetrievedTo
public String getRetrievedTo()
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
- Returns:
- The Amazon Resource Name (ARN) of the gateway-VTL that the
virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
-
withRetrievedTo
public TapeArchive withRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
- Parameters:
retrievedTo
- The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.The virtual tape is retrieved from the virtual tape shelf (VTS).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeStatus
public void setTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
- Parameters:
tapeStatus
- The current state of the archived virtual tape.
-
getTapeStatus
public String getTapeStatus()
The current state of the archived virtual tape.
- Returns:
- The current state of the archived virtual tape.
-
withTapeStatus
public TapeArchive withTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
- Parameters:
tapeStatus
- The current state of the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TapeArchive clone()
-
-