public class RetrieveTapeArchiveRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RetrieveTapeArchive operation
.
Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway, even though it is also listed in the 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.
NOOP
Constructor and Description |
---|
RetrieveTapeArchiveRequest() |
Modifier and Type | Method and Description |
---|---|
RetrieveTapeArchiveRequest |
clone()
Creates a shallow clone of this request.
|
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).
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, 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-VTL.
Constraints:
Length: 50 - 500
You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL.
public void setGatewayARN(String gatewayARN)
You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL.
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-VTL.
public RetrieveTapeArchiveRequest withGatewayARN(String gatewayARN)
You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL.
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-VTL.
public String toString()
toString
in class Object
Object.toString()
public RetrieveTapeArchiveRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.