Interface GetVaultLockResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVaultLockResponse.Builder,,GetVaultLockResponse> GlacierResponse.Builder,SdkBuilder<GetVaultLockResponse.Builder,,GetVaultLockResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVaultLockResponse
@Mutable
@NotThreadSafe
public static interface GetVaultLockResponse.Builder
extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<GetVaultLockResponse.Builder,GetVaultLockResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate(String creationDate) The UTC date and time at which the vault lock was put into theInProgressstate.expirationDate(String expirationDate) The UTC date and time at which the lock ID expires.The vault lock policy as a JSON string, which uses "\" as an escape character.The state of the vault lock.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policy
The vault lock policy as a JSON string, which uses "\" as an escape character.
- Parameters:
policy- The vault lock policy as a JSON string, which uses "\" as an escape character.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the vault lock.
InProgressorLocked.- Parameters:
state- The state of the vault lock.InProgressorLocked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDate
The UTC date and time at which the lock ID expires. This value can be
nullif the vault lock is in aLockedstate.- Parameters:
expirationDate- The UTC date and time at which the lock ID expires. This value can benullif the vault lock is in aLockedstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The UTC date and time at which the vault lock was put into the
InProgressstate.- Parameters:
creationDate- The UTC date and time at which the vault lock was put into theInProgressstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-