Interface BatchGetLifecyclePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetLifecyclePolicyResponse.Builder,BatchGetLifecyclePolicyResponse>,OpenSearchServerlessResponse.Builder,SdkBuilder<BatchGetLifecyclePolicyResponse.Builder,BatchGetLifecyclePolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetLifecyclePolicyResponse
public static interface BatchGetLifecyclePolicyResponse.Builder extends OpenSearchServerlessResponse.Builder, SdkPojo, CopyableBuilder<BatchGetLifecyclePolicyResponse.Builder,BatchGetLifecyclePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyDetails(Collection<LifecyclePolicyDetail> lifecyclePolicyDetails)A list of lifecycle policies matched to the input policy name and policy type.BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyDetails(Consumer<LifecyclePolicyDetail.Builder>... lifecyclePolicyDetails)A list of lifecycle policies matched to the input policy name and policy type.BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyDetails(LifecyclePolicyDetail... lifecyclePolicyDetails)A list of lifecycle policies matched to the input policy name and policy type.BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyErrorDetails(Collection<LifecyclePolicyErrorDetail> lifecyclePolicyErrorDetails)A list of lifecycle policy names and policy types for which retrieval failed.BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyErrorDetails(Consumer<LifecyclePolicyErrorDetail.Builder>... lifecyclePolicyErrorDetails)A list of lifecycle policy names and policy types for which retrieval failed.BatchGetLifecyclePolicyResponse.BuilderlifecyclePolicyErrorDetails(LifecyclePolicyErrorDetail... lifecyclePolicyErrorDetails)A list of lifecycle policy names and policy types 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 Detail
-
lifecyclePolicyDetails
BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyDetails(Collection<LifecyclePolicyDetail> lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
- Parameters:
lifecyclePolicyDetails- A list of lifecycle policies matched to the input policy name and policy type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyDetails
BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyDetails(LifecyclePolicyDetail... lifecyclePolicyDetails)
A list of lifecycle policies matched to the input policy name and policy type.
- Parameters:
lifecyclePolicyDetails- A list of lifecycle policies matched to the input policy name and policy type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyDetails
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.Builderavoiding the need to create one manually viaLifecyclePolicyDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecyclePolicyDetails(List.) - Parameters:
lifecyclePolicyDetails- a consumer that will call methods onLifecyclePolicyDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lifecyclePolicyDetails(java.util.Collection)
-
lifecyclePolicyErrorDetails
BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyErrorDetails(Collection<LifecyclePolicyErrorDetail> lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
- Parameters:
lifecyclePolicyErrorDetails- A list of lifecycle policy names and policy types for which retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyErrorDetails
BatchGetLifecyclePolicyResponse.Builder lifecyclePolicyErrorDetails(LifecyclePolicyErrorDetail... lifecyclePolicyErrorDetails)
A list of lifecycle policy names and policy types for which retrieval failed.
- Parameters:
lifecyclePolicyErrorDetails- A list of lifecycle policy names and policy types for which retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyErrorDetails
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.Builderavoiding the need to create one manually viaLifecyclePolicyErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecyclePolicyErrorDetails(List.) - Parameters:
lifecyclePolicyErrorDetails- a consumer that will call methods onLifecyclePolicyErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lifecyclePolicyErrorDetails(java.util.Collection)
-
-