public class CancelRetrievalRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CancelRetrieval operation
.
Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS.
NOOP
Constructor and Description |
---|
CancelRetrievalRequest() |
Modifier and Type | Method and Description |
---|---|
CancelRetrievalRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelRetrievalRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
CancelRetrievalRequest |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public CancelRetrievalRequest withGatewayARN(String gatewayARN)
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. Use the
ListGateways operation to return a list of gateways for your
account and region.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 cancel
retrieval for.public CancelRetrievalRequest 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 cancel
retrieval for.public String toString()
toString
in class Object
Object.toString()
public CancelRetrievalRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.