Class DescribeVaultOutput
- java.lang.Object
-
- software.amazon.awssdk.services.glacier.model.DescribeVaultOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DescribeVaultOutput.Builder,DescribeVaultOutput>
@Generated("software.amazon.awssdk:codegen") public final class DescribeVaultOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DescribeVaultOutput.Builder,DescribeVaultOutput>
Contains the Amazon S3 Glacier response to your request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeVaultOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeVaultOutput.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.List<SdkField<?>>sdkFields()static Class<? extends DescribeVaultOutput.Builder>serializableBuilderClass()LongsizeInBytes()Total size, in bytes, of the archives in the vault as of the last inventory date.DescribeVaultOutput.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 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 DescribeVaultOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeVaultOutput.Builder,DescribeVaultOutput>
-
builder
public static DescribeVaultOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeVaultOutput.Builder> serializableBuilderClass()
-
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.
-
-