Interface GetVaultLockResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetVaultLockResponse.Builder,
,GetVaultLockResponse> GlacierResponse.Builder
,SdkBuilder<GetVaultLockResponse.Builder,
,GetVaultLockResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVaultLockResponse
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 theInProgress
state.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
copy
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.
InProgress
orLocked
.- Parameters:
state
- The state of the vault lock.InProgress
orLocked
.- 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
null
if the vault lock is in aLocked
state.- Parameters:
expirationDate
- The UTC date and time at which the lock ID expires. This value can benull
if the vault lock is in aLocked
state.- 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
InProgress
state.- Parameters:
creationDate
- The UTC date and time at which the vault lock was put into theInProgress
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-