Class DescribeVaultOutput

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

public class DescribeVaultOutput extends Object implements Serializable, Cloneable

Contains the Amazon Glacier response to your request.

See Also:
  • Constructor Details

    • DescribeVaultOutput

      public DescribeVaultOutput()
  • Method Details

    • setVaultARN

      public void setVaultARN(String vaultARN)

      The Amazon Resource Name (ARN) of the vault.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault.
    • getVaultARN

      public String getVaultARN()

      The Amazon Resource Name (ARN) of the vault.

      Returns:
      The Amazon Resource Name (ARN) of the vault.
    • withVaultARN

      public DescribeVaultOutput withVaultARN(String vaultARN)

      The Amazon Resource Name (ARN) of the vault.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVaultName

      public void setVaultName(String vaultName)

      The name of the vault.

      Parameters:
      vaultName - The name of the vault.
    • getVaultName

      public String getVaultName()

      The name of the vault.

      Returns:
      The name of the vault.
    • withVaultName

      public DescribeVaultOutput withVaultName(String vaultName)

      The name of the vault.

      Parameters:
      vaultName - The name of the vault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreationDate

      public void setCreationDate(String creationDate)

      The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Parameters:
      creationDate - The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
    • getCreationDate

      public String getCreationDate()

      The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Returns:
      The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
    • withCreationDate

      public DescribeVaultOutput withCreationDate(String creationDate)

      The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Parameters:
      creationDate - The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastInventoryDate

      public void setLastInventoryDate(String lastInventoryDate)

      The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Parameters:
      lastInventoryDate - The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
    • getLastInventoryDate

      public String getLastInventoryDate()

      The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Returns:
      The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
    • withLastInventoryDate

      public DescribeVaultOutput withLastInventoryDate(String lastInventoryDate)

      The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

      Parameters:
      lastInventoryDate - The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNumberOfArchives

      public void setNumberOfArchives(Long numberOfArchives)

      The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Parameters:
      numberOfArchives - The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
    • getNumberOfArchives

      public Long getNumberOfArchives()

      The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Returns:
      The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
    • withNumberOfArchives

      public DescribeVaultOutput withNumberOfArchives(Long numberOfArchives)

      The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Parameters:
      numberOfArchives - The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSizeInBytes

      public void setSizeInBytes(Long sizeInBytes)

      Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Parameters:
      sizeInBytes - Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
    • getSizeInBytes

      public Long getSizeInBytes()

      Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Returns:
      Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
    • withSizeInBytes

      public DescribeVaultOutput withSizeInBytes(Long sizeInBytes)

      Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

      Parameters:
      sizeInBytes - Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
      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 DescribeVaultOutput clone()
      Overrides:
      clone in class Object