com.amazonaws.services.storagegateway.model
Class CancelRetrievalRequest

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

public class CancelRetrievalRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 Virtual Tape Shelf.

See Also:
AWSStorageGateway.cancelRetrieval(CancelRetrievalRequest), Serialized Form

Constructor Summary
CancelRetrievalRequest()
           
 
Method Summary
 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.
 
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

CancelRetrievalRequest

public CancelRetrievalRequest()
Method Detail

getGatewayARN

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

Constraints:
Length: 50 - 500

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

setGatewayARN

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

Constraints:
Length: 50 - 500

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

withGatewayARN

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

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. Use the ListGateways operation to return a list of gateways for your account and region.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeARN

public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

withTapeARN

public CancelRetrievalRequest withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

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 cancel retrieval for.
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.