Class DescribeTapesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.DescribeTapesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeTapesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

DescribeTapesInput

See Also:
  • Constructor Details

    • DescribeTapesRequest

      public DescribeTapesRequest()
  • Method Details

    • setGatewayARN

      public void setGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
    • getGatewayARN

      public String getGatewayARN()
      Returns:
    • withGatewayARN

      public DescribeTapesRequest withGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTapeARNs

      public List<String> getTapeARNs()

      Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.

      Returns:
      Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
    • setTapeARNs

      public void setTapeARNs(Collection<String> tapeARNs)

      Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.

      Parameters:
      tapeARNs - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
    • withTapeARNs

      public DescribeTapesRequest withTapeARNs(String... tapeARNs)

      Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.

      NOTE: This method appends the values to the existing list (if any). Use setTapeARNs(java.util.Collection) or withTapeARNs(java.util.Collection) if you want to override the existing values.

      Parameters:
      tapeARNs - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTapeARNs

      public DescribeTapesRequest withTapeARNs(Collection<String> tapeARNs)

      Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.

      Parameters:
      tapeARNs - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMarker

      public void setMarker(String marker)

      A marker value, obtained in a previous call to DescribeTapes . This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

      Parameters:
      marker - A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

    • getMarker

      public String getMarker()

      A marker value, obtained in a previous call to DescribeTapes . This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

      Returns:
      A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

    • withMarker

      public DescribeTapesRequest withMarker(String marker)

      A marker value, obtained in a previous call to DescribeTapes . This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

      Parameters:
      marker - A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve.

      If not specified, the first page of results is retrieved.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLimit

      public void setLimit(Integer limit)

      Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

      Parameters:
      limit - Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

    • getLimit

      public Integer getLimit()

      Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

      Returns:
      Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

    • withLimit

      public DescribeTapesRequest withLimit(Integer limit)

      Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

      Parameters:
      limit - Specifies that the number of virtual tapes described be limited to the specified number.

      Amazon Web Services may impose its own limit, if this field is not set.

      Returns:
      Returns a reference to this 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeTapesRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: