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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetVaultLockResponse.BuildercreationDate(String creationDate)The UTC date and time at which the vault lock was put into theInProgressstate.GetVaultLockResponse.BuilderexpirationDate(String expirationDate)The UTC date and time at which the lock ID expires.GetVaultLockResponse.Builderpolicy(String policy)The vault lock policy as a JSON string, which uses "\" as an escape character.GetVaultLockResponse.Builderstate(String state)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policy
GetVaultLockResponse.Builder policy(String 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
GetVaultLockResponse.Builder state(String 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
GetVaultLockResponse.Builder expirationDate(String 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
GetVaultLockResponse.Builder creationDate(String 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.
-
-