Class ListVaultsResult

java.lang.Object
com.amazonaws.services.glacier.model.ListVaultsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListVaultsResult extends Object implements Serializable, Cloneable

Contains the Amazon Glacier response to your request.

See Also:
  • Constructor Details

    • ListVaultsResult

      public ListVaultsResult()
  • Method Details

    • getVaultList

      public List<DescribeVaultOutput> getVaultList()

      List of vaults.

      Returns:
      List of vaults.
    • setVaultList

      public void setVaultList(Collection<DescribeVaultOutput> vaultList)

      List of vaults.

      Parameters:
      vaultList - List of vaults.
    • withVaultList

      public ListVaultsResult withVaultList(DescribeVaultOutput... vaultList)

      List of vaults.

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

      Parameters:
      vaultList - List of vaults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withVaultList

      public ListVaultsResult withVaultList(Collection<DescribeVaultOutput> vaultList)

      List of vaults.

      Parameters:
      vaultList - List of vaults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMarker

      public void setMarker(String marker)

      The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.

      Parameters:
      marker - The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
    • getMarker

      public String getMarker()

      The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.

      Returns:
      The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
    • withMarker

      public ListVaultsResult withMarker(String marker)

      The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.

      Parameters:
      marker - The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
      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 ListVaultsResult clone()
      Overrides:
      clone in class Object