Class DescribeVaultResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.glacier.model.GlacierResponse
-
- software.amazon.awssdk.services.glacier.model.DescribeVaultResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeVaultResponse.Builder,DescribeVaultResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeVaultResponse extends GlacierResponse implements ToCopyableBuilder<DescribeVaultResponse.Builder,DescribeVaultResponse>
Contains the Amazon S3 Glacier response to your request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeVaultResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeVaultResponse.Builderbuilder()StringcreationDate()The Universal Coordinated Time (UTC) date when the vault was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastInventoryDate()The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last vault inventory.LongnumberOfArchives()The number of archives in the vault as of the last inventory date.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeVaultResponse.Builder>serializableBuilderClass()LongsizeInBytes()Total size, in bytes, of the archives in the vault as of the last inventory date.DescribeVaultResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvaultARN()The Amazon Resource Name (ARN) of the vault.StringvaultName()The name of the vault.-
Methods inherited from class software.amazon.awssdk.services.glacier.model.GlacierResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
vaultARN
public final String vaultARN()
The Amazon Resource Name (ARN) of the vault.
- Returns:
- The Amazon Resource Name (ARN) of the vault.
-
vaultName
public final String vaultName()
The name of the vault.
- Returns:
- The name of the vault.
-
creationDate
public final 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.- Returns:
- 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.
-
lastInventoryDate
public final String lastInventoryDate()
The Universal Coordinated Time (UTC) date when Amazon S3 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.- Returns:
- The Universal Coordinated Time (UTC) date when Amazon S3 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.
-
numberOfArchives
public final Long numberOfArchives()
The number of archives in the vault as of the last inventory date. This field will return
nullif 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
nullif an inventory has not yet run on the vault, for example if you just created the vault.
-
sizeInBytes
public final 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.
- 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.
-
toBuilder
public DescribeVaultResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeVaultResponse.Builder,DescribeVaultResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeVaultResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeVaultResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-