@Generated(value="software.amazon.awssdk:codegen") public class DescribeVaultResponse extends GlacierResponse implements ToCopyableBuilder<DescribeVaultResponse.Builder,DescribeVaultResponse>
Contains the Amazon Glacier response to your request.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeVaultResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeVaultResponse.Builder |
builder() |
String |
creationDate()
The Universal Coordinated Time (UTC) date when the vault was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
lastInventoryDate()
The Universal Coordinated Time (UTC) date when Amazon Glacier completed the last vault inventory.
|
Long |
numberOfArchives()
The number of archives in the vault as of the last inventory date.
|
static Class<? extends DescribeVaultResponse.Builder> |
serializableBuilderClass() |
Long |
sizeInBytes()
Total size, in bytes, of the archives in the vault as of the last inventory date.
|
DescribeVaultResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vaultARN()
The Amazon Resource Name (ARN) of the vault.
|
String |
vaultName()
The name of the vault.
|
copy
public String vaultARN()
The Amazon Resource Name (ARN) of the vault.
public String vaultName()
The name of the vault.
public 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
.
2012-03-20T17:03:43.221Z
.public 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
.
2012-03-20T17:03:43.221Z
.public 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.
null
if an inventory has not yet run on the vault, for example if you just created the
vault.public 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.
public DescribeVaultResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeVaultResponse.Builder,DescribeVaultResponse>
toBuilder
in class AwsResponse
public static DescribeVaultResponse.Builder builder()
public static Class<? extends DescribeVaultResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.