@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVaultResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
DescribeVaultResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVaultResult |
clone() |
boolean |
equals(Object obj) |
String |
getCreationDate()
The Universal Coordinated Time (UTC) date when the vault was created.
|
String |
getLastInventoryDate()
The Universal Coordinated Time (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 Universal Coordinated Time (UTC) date when the vault was created.
|
void |
setLastInventoryDate(String lastInventoryDate)
The Universal Coordinated Time (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 Universal Coordinated Time (UTC) date when the vault was created.
|
DescribeVaultResult |
withLastInventoryDate(String lastInventoryDate)
The Universal Coordinated Time (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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeVaultResult 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 DescribeVaultResult withVaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.public void setCreationDate(String creationDate)
The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO
8601 date format, for example 2012-03-20T17:03:43.221Z
.
creationDate
- The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the
ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.public String getCreationDate()
The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO
8601 date format, for example 2012-03-20T17:03:43.221Z
.
2012-03-20T17:03:43.221Z
.public DescribeVaultResult withCreationDate(String creationDate)
The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO
8601 date format, for example 2012-03-20T17:03:43.221Z
.
creationDate
- The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the
ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.public void setLastInventoryDate(String lastInventoryDate)
The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This value
should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.
lastInventoryDate
- The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This
value should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.public String getLastInventoryDate()
The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This value
should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.
2012-03-20T17:03:43.221Z
.public DescribeVaultResult withLastInventoryDate(String lastInventoryDate)
The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This value
should be a string in the ISO 8601 date format, for example 2012-03-20T17:03:43.221Z
.
lastInventoryDate
- The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory. This
value should be a string in the 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 DescribeVaultResult 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 DescribeVaultResult 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 DescribeVaultResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.