Interface BatchGetEffectiveLifecyclePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetEffectiveLifecyclePolicyResponse.Builder,
,BatchGetEffectiveLifecyclePolicyResponse> OpenSearchServerlessResponse.Builder
,SdkBuilder<BatchGetEffectiveLifecyclePolicyResponse.Builder,
,BatchGetEffectiveLifecyclePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetEffectiveLifecyclePolicyResponse
@Mutable
@NotThreadSafe
public static interface BatchGetEffectiveLifecyclePolicyResponse.Builder
extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<BatchGetEffectiveLifecyclePolicyResponse.Builder,BatchGetEffectiveLifecyclePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneffectiveLifecyclePolicyDetails
(Collection<EffectiveLifecyclePolicyDetail> effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.effectiveLifecyclePolicyDetails
(Consumer<EffectiveLifecyclePolicyDetail.Builder>... effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.effectiveLifecyclePolicyDetails
(EffectiveLifecyclePolicyDetail... effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.effectiveLifecyclePolicyErrorDetails
(Collection<EffectiveLifecyclePolicyErrorDetail> effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.effectiveLifecyclePolicyErrorDetails
(Consumer<EffectiveLifecyclePolicyErrorDetail.Builder>... effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.effectiveLifecyclePolicyErrorDetails
(EffectiveLifecyclePolicyErrorDetail... effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.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 Details
-
effectiveLifecyclePolicyDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyDetails(Collection<EffectiveLifecyclePolicyDetail> effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.
- Parameters:
effectiveLifecyclePolicyDetails
- A list of lifecycle policies applied to the OpenSearch Serverless indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLifecyclePolicyDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyDetails(EffectiveLifecyclePolicyDetail... effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.
- Parameters:
effectiveLifecyclePolicyDetails
- A list of lifecycle policies applied to the OpenSearch Serverless indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLifecyclePolicyDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyDetails(Consumer<EffectiveLifecyclePolicyDetail.Builder>... effectiveLifecyclePolicyDetails) A list of lifecycle policies applied to the OpenSearch Serverless indexes.
This is a convenience method that creates an instance of theEffectiveLifecyclePolicyDetail.Builder
avoiding the need to create one manually viaEffectiveLifecyclePolicyDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeffectiveLifecyclePolicyDetails(List<EffectiveLifecyclePolicyDetail>)
.- Parameters:
effectiveLifecyclePolicyDetails
- a consumer that will call methods onEffectiveLifecyclePolicyDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effectiveLifecyclePolicyErrorDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyErrorDetails(Collection<EffectiveLifecyclePolicyErrorDetail> effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.
- Parameters:
effectiveLifecyclePolicyErrorDetails
- A list of resources for which retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLifecyclePolicyErrorDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyErrorDetails(EffectiveLifecyclePolicyErrorDetail... effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.
- Parameters:
effectiveLifecyclePolicyErrorDetails
- A list of resources for which retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLifecyclePolicyErrorDetails
BatchGetEffectiveLifecyclePolicyResponse.Builder effectiveLifecyclePolicyErrorDetails(Consumer<EffectiveLifecyclePolicyErrorDetail.Builder>... effectiveLifecyclePolicyErrorDetails) A list of resources for which retrieval failed.
This is a convenience method that creates an instance of theEffectiveLifecyclePolicyErrorDetail.Builder
avoiding the need to create one manually viaEffectiveLifecyclePolicyErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeffectiveLifecyclePolicyErrorDetails(List<EffectiveLifecyclePolicyErrorDetail>)
.- Parameters:
effectiveLifecyclePolicyErrorDetails
- a consumer that will call methods onEffectiveLifecyclePolicyErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-