com.amazonaws.services.storagegateway.model
Class DeleteTapeRequest

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

public class DeleteTapeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteTape operation.

Deletes the specified virtual tape.

See Also:
AWSStorageGateway.deleteTape(DeleteTapeRequest), Serialized Form

Constructor Summary
DeleteTapeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGatewayARN()
          The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with.
 String getTapeARN()
          The Amazon Resource Name (ARN) of the virtual tape to delete.
 int hashCode()
           
 void setGatewayARN(String gatewayARN)
          The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with.
 void setTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteTapeRequest withGatewayARN(String gatewayARN)
          The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with.
 DeleteTapeRequest withTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape to delete.
 
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

DeleteTapeRequest

public DeleteTapeRequest()
Method Detail

getGatewayARN

public String getGatewayARN()
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Returns:
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

setGatewayARN

public void setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

withGatewayARN

public DeleteTapeRequest withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. 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 unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. 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 to delete.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the virtual tape to delete.

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape to delete.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape to delete.

withTapeARN

public DeleteTapeRequest withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape to delete.

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 to delete.
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.