com.amazonaws.services.storagegateway.model
Class RetrieveTapeArchiveRequest

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

public class RetrieveTapeArchiveRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RetrieveTapeArchive operation.

Retrieves an archived virtual tape from the Virtual Tape Shelf (VTS) to a Gateway-Virtual Tape Library. Virtual tapes archived in the Virtual Tape Shelf (VTS) are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway though it also listed in VTS.

Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to another gateway. You must archive the tape again before you can retrieve it to another gateway.

See Also:
AWSStorageGateway.retrieveTapeArchive(RetrieveTapeArchiveRequest), Serialized Form

Constructor Summary
RetrieveTapeArchiveRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGatewayARN()
          The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.
 String getTapeARN()
          The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).
 int hashCode()
           
 void setGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.
 void setTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RetrieveTapeArchiveRequest withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.
 RetrieveTapeArchiveRequest withTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetrieveTapeArchiveRequest

public RetrieveTapeArchiveRequest()
Method Detail

getTapeARN

public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).

withTapeARN

public RetrieveTapeArchiveRequest withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to retrieve 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:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the Virtual Tape Shelf (VTS).
Returns:
A reference to this updated object so that method calls can be chained together.

getGatewayARN

public String getGatewayARN()
The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.


setGatewayARN

public void setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.


withGatewayARN

public RetrieveTapeArchiveRequest withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.

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

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.

You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.

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.