Interface BatchGetLifecyclePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetLifecyclePolicyResponse.Builder,,BatchGetLifecyclePolicyResponse> OpenSearchServerlessResponse.Builder,SdkBuilder<BatchGetLifecyclePolicyResponse.Builder,,BatchGetLifecyclePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetLifecyclePolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionlifecyclePolicyDetails(Collection<LifecyclePolicyDetail> lifecyclePolicyDetails) A list of lifecycle policies matched to the input policy name and policy type.lifecyclePolicyDetails(Consumer<LifecyclePolicyDetail.Builder>... lifecyclePolicyDetails) A list of lifecycle policies matched to the input policy name and policy type.lifecyclePolicyDetails(LifecyclePolicyDetail... lifecyclePolicyDetails) A list of lifecycle policies matched to the input policy name and policy type.lifecyclePolicyErrorDetails(Collection<LifecyclePolicyErrorDetail> lifecyclePolicyErrorDetails) A list of lifecycle policy names and policy types for which retrieval failed.lifecyclePolicyErrorDetails(Consumer<LifecyclePolicyErrorDetail.Builder>... lifecyclePolicyErrorDetails) A list of lifecycle policy names and policy types for which retrieval failed.lifecyclePolicyErrorDetails(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
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 tolifecyclePolicyDetails(List<LifecyclePolicyDetail>).- 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:
-
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 tolifecyclePolicyErrorDetails(List<LifecyclePolicyErrorDetail>).- 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:
-