@Generated(value="software.amazon.awssdk:codegen") public final class GetVaultLockResponse extends GlacierResponse implements ToCopyableBuilder<GetVaultLockResponse.Builder,GetVaultLockResponse>
Contains the Amazon S3 Glacier response to your request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetVaultLockResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetVaultLockResponse.Builder |
builder() |
String |
creationDate()
The UTC date and time at which the vault lock was put into the
InProgress state. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expirationDate()
The UTC date and time at which the lock ID expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The vault lock policy as a JSON string, which uses "\" as an escape character.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetVaultLockResponse.Builder> |
serializableBuilderClass() |
String |
state()
The state of the vault lock.
|
GetVaultLockResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policy()
The vault lock policy as a JSON string, which uses "\" as an escape character.
public final String state()
The state of the vault lock. InProgress or Locked.
InProgress or Locked.public final String expirationDate()
The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a
Locked state.
null if the vault lock
is in a Locked state.public final String creationDate()
The UTC date and time at which the vault lock was put into the InProgress state.
InProgress state.public GetVaultLockResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetVaultLockResponse.Builder,GetVaultLockResponse>toBuilder in class AwsResponsepublic static GetVaultLockResponse.Builder builder()
public static Class<? extends GetVaultLockResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.