Class DescribeVaultOutput
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The UTC date when the vault was created.The UTC date when Amazon Glacier completed the last vault inventory.The number of archives in the vault as of the last inventory date.Total size, in bytes, of the archives in the vault as of the last inventory date.The Amazon Resource Name (ARN) of the vault.The name of the vault.int
hashCode()
void
setCreationDate
(String creationDate) The UTC date when the vault was created.void
setLastInventoryDate
(String lastInventoryDate) The UTC date when Amazon Glacier completed the last vault inventory.void
setNumberOfArchives
(Long numberOfArchives) The number of archives in the vault as of the last inventory date.void
setSizeInBytes
(Long sizeInBytes) Total size, in bytes, of the archives in the vault as of the last inventory date.void
setVaultARN
(String vaultARN) The Amazon Resource Name (ARN) of the vault.void
setVaultName
(String vaultName) The name of the vault.toString()
Returns a string representation of this object; useful for testing and debugging.withCreationDate
(String creationDate) The UTC date when the vault was created.withLastInventoryDate
(String lastInventoryDate) The UTC date when Amazon Glacier completed the last vault inventory.withNumberOfArchives
(Long numberOfArchives) The number of archives in the vault as of the last inventory date.withSizeInBytes
(Long sizeInBytes) Total size, in bytes, of the archives in the vault as of the last inventory date.withVaultARN
(String vaultARN) The Amazon Resource Name (ARN) of the vault.withVaultName
(String vaultName) The name of the vault.
-
Constructor Details
-
DescribeVaultOutput
public DescribeVaultOutput()
-
-
Method Details
-
setVaultARN
The Amazon Resource Name (ARN) of the vault.
- Parameters:
vaultARN
- The Amazon Resource Name (ARN) of the vault.
-
getVaultARN
The Amazon Resource Name (ARN) of the vault.
- Returns:
- The Amazon Resource Name (ARN) of the vault.
-
withVaultARN
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
The name of the vault.
- Parameters:
vaultName
- The name of the vault.
-
getVaultName
The name of the vault.
- Returns:
- The name of the vault.
-
withVaultName
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
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
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
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
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
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
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
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 returnnull
if an inventory has not yet run on the vault, for example, if you just created the vault.
-
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
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 returnnull
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-