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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVaultOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVaultOutput
clone()
boolean
equals(Object obj)
String
getCreationDate()
The UTC date when the vault was created.String
getLastInventoryDate()
The UTC date when Amazon Glacier completed the last vault inventory.Long
getNumberOfArchives()
The number of archives in the vault as of the last inventory date.Long
getSizeInBytes()
Total size, in bytes, of the archives in the vault as of the last inventory date.String
getVaultARN()
The Amazon Resource Name (ARN) of the vault.String
getVaultName()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVaultOutput
withCreationDate(String creationDate)
The UTC date when the vault was created.DescribeVaultOutput
withLastInventoryDate(String lastInventoryDate)
The UTC date when Amazon Glacier completed the last vault inventory.DescribeVaultOutput
withNumberOfArchives(Long numberOfArchives)
The number of archives in the vault as of the last inventory date.DescribeVaultOutput
withSizeInBytes(Long sizeInBytes)
Total size, in bytes, of the archives in the vault as of the last inventory date.DescribeVaultOutput
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.DescribeVaultOutput
withVaultName(String vaultName)
The name of the vault.
-
-
-
Method Detail
-
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 returnnull
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 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
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVaultOutput clone()
-
-