com.amazonaws.services.storagegateway.model
Class CancelArchivalRequest

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

public class CancelArchivalRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CancelArchival operation.

Cancels archiving of a virtual tape to the Virtual Tape Shelf (VTS) after archiving process is initiated.

See Also:
AWSStorageGateway.cancelArchival(CancelArchivalRequest), Serialized Form

Constructor Summary
CancelArchivalRequest()
           
 
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 archiving 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 archiving for.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelArchivalRequest withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 CancelArchivalRequest withTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving 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

CancelArchivalRequest

public CancelArchivalRequest()
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 CancelArchivalRequest 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 archiving for.

Constraints:
Length: 50 - 500

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

setTapeARN

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

Constraints:
Length: 50 - 500

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

withTapeARN

public CancelArchivalRequest withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving 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 archiving 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.