com.amazonaws.services.storagegateway.model
Class TapeArchive

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.TapeArchive
All Implemented Interfaces:
Serializable

public class TapeArchive
extends Object
implements Serializable

Represents a virtual tape that is archived in the Virtual Tape Shelf (VTS).

See Also:
Serialized Form

Constructor Summary
TapeArchive()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TapeArchive

public TapeArchive()
Method Detail

getTapeARN

public String getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of an archived virtual tape.

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of an archived virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeBarcode

public String getTapeBarcode()
The barcode that identifies the archived virtual tape.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Returns:
The barcode that identifies the archived virtual tape.

setTapeBarcode

public void setTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Parameters:
tapeBarcode - The barcode that identifies the archived virtual tape.

withTapeBarcode

public TapeArchive withTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Parameters:
tapeBarcode - The barcode that identifies the archived virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeSizeInBytes

public Long getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.

Constraints:
Range: 107374182400 - 2748779069440

Returns:
The size, in bytes, of the archived virtual tape.

setTapeSizeInBytes

public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.

Constraints:
Range: 107374182400 - 2748779069440

Parameters:
tapeSizeInBytes - The size, in bytes, of the archived virtual tape.

withTapeSizeInBytes

public TapeArchive withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 107374182400 - 2748779069440

Parameters:
tapeSizeInBytes - The size, in bytes, of the archived virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

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.


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.


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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getRetrievedTo

public String getRetrievedTo()
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).

Constraints:
Length: 50 - 500

Returns:
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).


setRetrievedTo

public void setRetrievedTo(String 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).

Constraints:
Length: 50 - 500

Parameters:
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).


withRetrievedTo

public TapeArchive withRetrievedTo(String 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).

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
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).

Returns:
A reference to this updated object so that method calls can be chained together.

getTapeStatus

public String getTapeStatus()
The current state of the archived virtual tape.

Returns:
The current state of the archived virtual tape.

setTapeStatus

public void setTapeStatus(String tapeStatus)
The current state of the archived virtual tape.

Parameters:
tapeStatus - The current state of the archived virtual tape.

withTapeStatus

public TapeArchive withTapeStatus(String tapeStatus)
The current state of the archived virtual tape.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tapeStatus - The current state of the archived virtual tape.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.