public class DescribeVaultOutput extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
DescribeVaultOutput() |
Modifier and Type | Method and 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.
|
public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.
vaultARN
- The Amazon Resource Name (ARN) of the vault.public String getVaultARN()
The Amazon Resource Name (ARN) of the vault.
public DescribeVaultOutput withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.
vaultARN
- The Amazon Resource Name (ARN) of the vault.public void setVaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.public String getVaultName()
The name of the vault.
public DescribeVaultOutput withVaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.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".
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".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".
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".
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".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".
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".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".
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".
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".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.
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.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.
null
if an inventory
has not yet run on the vault, for example, if you just created
the vault.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.
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.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.
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.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.
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.
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.public String toString()
toString
in class Object
Object.toString()
public DescribeVaultOutput clone()
Copyright © 2018. All rights reserved.