public static interface BatchGetLifecyclePolicyResponse.Builder extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<BatchGetLifecyclePolicyResponse.Builder,BatchGetLifecyclePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyDetails(Collection<LifecyclePolicyDetail> lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyDetails(Consumer<LifecyclePolicyDetail.Builder>... lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyDetails(LifecyclePolicyDetail... lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyErrorDetails(Collection<LifecyclePolicyErrorDetail> lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyErrorDetails(Consumer<LifecyclePolicyErrorDetail.Builder>... lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
|
BatchGetLifecyclePolicyResponse.Builder |
lifecyclePolicyErrorDetails(LifecyclePolicyErrorDetail... lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetLifecyclePolicyResponse.Builder lifecyclePolicyDetails(Collection<LifecyclePolicyDetail> lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
lifecyclePolicyDetails - A list of lifecycle policies matched to the input policy name and policy type.BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyDetails(LifecyclePolicyDetail... lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
lifecyclePolicyDetails - A list of lifecycle policies matched to the input policy name and policy type.BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyDetails(Consumer<LifecyclePolicyDetail.Builder>... lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
This is a convenience method that creates an instance of theLifecyclePolicyDetail.Builder avoiding the
need to create one manually via
LifecyclePolicyDetail.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #lifecyclePolicyDetails(List.
lifecyclePolicyDetails - a consumer that will call methods on
LifecyclePolicyDetail.Builder#lifecyclePolicyDetails(java.util.Collection) BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyErrorDetails(Collection<LifecyclePolicyErrorDetail> lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
lifecyclePolicyErrorDetails - A list of lifecycle policy names and policy types for which retrieval failed.BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyErrorDetails(LifecyclePolicyErrorDetail... lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
lifecyclePolicyErrorDetails - A list of lifecycle policy names and policy types for which retrieval failed.BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyErrorDetails(Consumer<LifecyclePolicyErrorDetail.Builder>... lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
This is a convenience method that creates an instance of theLifecyclePolicyErrorDetail.Builder
avoiding the need to create one manually via
LifecyclePolicyErrorDetail.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #lifecyclePolicyErrorDetails(List.
lifecyclePolicyErrorDetails - a consumer that will call methods on
LifecyclePolicyErrorDetail.Builder#lifecyclePolicyErrorDetails(java.util.Collection) Copyright © 2023. All rights reserved.