public class RetrieveTapeArchiveRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
RetrieveTapeArchiveRequest() |
Modifier and Type | Method and Description |
---|---|
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).
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getTapeARN()
Constraints:
Length: 50 - 500
public void setTapeARN(String tapeARN)
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape you want to
retrieve from the Virtual Tape Shelf (VTS).public RetrieveTapeArchiveRequest 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 the virtual tape you want to
retrieve from the Virtual Tape Shelf (VTS).public String getGatewayARN()
You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.
Constraints:
Length: 50 - 500
You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.
public void setGatewayARN(String gatewayARN)
You retrieve archived virtual tapes to only one gateway and the gateway must be a Gateway-Virtual Tape Library.
Constraints:
Length: 50 - 500
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.
public RetrieveTapeArchiveRequest withGatewayARN(String gatewayARN)
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
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.