public class DescribeVaultResult extends Object implements Serializable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
DescribeVaultResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
DescribeVaultResult |
withCreationDate(String creationDate)
The UTC date when the vault was created.
|
DescribeVaultResult |
withLastInventoryDate(String lastInventoryDate)
The UTC date when Amazon Glacier completed the last vault inventory.
|
DescribeVaultResult |
withNumberOfArchives(Long numberOfArchives)
The number of archives in the vault as of the last inventory date.
|
DescribeVaultResult |
withSizeInBytes(Long sizeInBytes)
Total size, in bytes, of the archives in the vault as of the last
inventory date.
|
DescribeVaultResult |
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.
|
DescribeVaultResult |
withVaultName(String vaultName)
The name of the vault.
|
public String getVaultARN()
public void setVaultARN(String vaultARN)
vaultARN
- The Amazon Resource Name (ARN) of the vault.public DescribeVaultResult withVaultARN(String vaultARN)
Returns a reference to this object so that method calls can be chained together.
vaultARN
- The Amazon Resource Name (ARN) of the vault.public String getVaultName()
public void setVaultName(String vaultName)
vaultName
- The name of the vault.public DescribeVaultResult withVaultName(String vaultName)
Returns a reference to this object so that method calls can be chained together.
vaultName
- The name of the vault.public String getCreationDate()
public void setCreationDate(String creationDate)
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 DescribeVaultResult withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
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 getLastInventoryDate()
public void setLastInventoryDate(String lastInventoryDate)
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 DescribeVaultResult withLastInventoryDate(String lastInventoryDate)
Returns a reference to this object so that method calls can be chained together.
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 Long getNumberOfArchives()
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 void setNumberOfArchives(Long numberOfArchives)
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 DescribeVaultResult withNumberOfArchives(Long numberOfArchives)
null
if an inventory has not yet
run on the vault, for example, if you just created the vault.
Returns a reference to this object so that method calls can be chained together.
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 getSizeInBytes()
public void setSizeInBytes(Long sizeInBytes)
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 DescribeVaultResult withSizeInBytes(Long sizeInBytes)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.