Interface UpdateLifecyclePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,,UpdateLifecyclePolicyRequest> OpenSearchServerlessRequest.Builder,SdkBuilder<UpdateLifecyclePolicyRequest.Builder,,UpdateLifecyclePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLifecyclePolicyRequest
public static interface UpdateLifecyclePolicyRequest.Builder
extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.description(String description) A description of the lifecycle policy.The name of the policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The JSON policy document to use as the content for the lifecycle policy.policyVersion(String policyVersion) The version of the policy being updated.The type of lifecycle policy.type(LifecyclePolicyType type) The type of lifecycle policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the lifecycle policy.
- Parameters:
description- A description of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the policy.
- Parameters:
name- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON policy document to use as the content for the lifecycle policy.
- Parameters:
policy- The JSON policy document to use as the content for the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersion
The version of the policy being updated.
- Parameters:
policyVersion- The version of the policy being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-