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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
lifecyclePolicyDetailsBatchGetLifecyclePolicyResponse.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.
 
- 
lifecyclePolicyDetailsBatchGetLifecyclePolicyResponse.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.
 
- 
lifecyclePolicyDetailsBatchGetLifecyclePolicyResponse.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 on- LifecyclePolicyDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lifecyclePolicyErrorDetailsBatchGetLifecyclePolicyResponse.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.
 
- 
lifecyclePolicyErrorDetailsBatchGetLifecyclePolicyResponse.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.
 
- 
lifecyclePolicyErrorDetailsBatchGetLifecyclePolicyResponse.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 on- LifecyclePolicyErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-