Interface EffectiveLifecyclePolicyErrorDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EffectiveLifecyclePolicyErrorDetail.Builder,EffectiveLifecyclePolicyErrorDetail>,SdkBuilder<EffectiveLifecyclePolicyErrorDetail.Builder,EffectiveLifecyclePolicyErrorDetail>,SdkPojo
- Enclosing class:
- EffectiveLifecyclePolicyErrorDetail
public static interface EffectiveLifecyclePolicyErrorDetail.Builder extends SdkPojo, CopyableBuilder<EffectiveLifecyclePolicyErrorDetail.Builder,EffectiveLifecyclePolicyErrorDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EffectiveLifecyclePolicyErrorDetail.BuildererrorCode(String errorCode)The error code for the request.EffectiveLifecyclePolicyErrorDetail.BuildererrorMessage(String errorMessage)A description of the error.EffectiveLifecyclePolicyErrorDetail.Builderresource(String resource)The name of OpenSearch Serverless index resource.EffectiveLifecyclePolicyErrorDetail.Buildertype(String type)The type of lifecycle policy.EffectiveLifecyclePolicyErrorDetail.Buildertype(LifecyclePolicyType type)The type of lifecycle policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCode
EffectiveLifecyclePolicyErrorDetail.Builder errorCode(String errorCode)
The error code for the request.
- Parameters:
errorCode- The error code for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
EffectiveLifecyclePolicyErrorDetail.Builder errorMessage(String errorMessage)
A description of the error. For example,
The specified Index resource is not found.- Parameters:
errorMessage- A description of the error. For example,The specified Index resource is not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
EffectiveLifecyclePolicyErrorDetail.Builder resource(String resource)
The name of OpenSearch Serverless index resource.
- Parameters:
resource- The name of OpenSearch Serverless index resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
EffectiveLifecyclePolicyErrorDetail.Builder type(String type)
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyType,LifecyclePolicyType
-
type
EffectiveLifecyclePolicyErrorDetail.Builder type(LifecyclePolicyType type)
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyType,LifecyclePolicyType
-
-