Interface LifecyclePolicyErrorDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyErrorDetail.Builder,LifecyclePolicyErrorDetail>,SdkBuilder<LifecyclePolicyErrorDetail.Builder,LifecyclePolicyErrorDetail>,SdkPojo
- Enclosing class:
- LifecyclePolicyErrorDetail
public static interface LifecyclePolicyErrorDetail.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicyErrorDetail.Builder,LifecyclePolicyErrorDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicyErrorDetail.BuildererrorCode(String errorCode)The error code for the request.LifecyclePolicyErrorDetail.BuildererrorMessage(String errorMessage)A description of the error.LifecyclePolicyErrorDetail.Buildername(String name)The name of the lifecycle policy.LifecyclePolicyErrorDetail.Buildertype(String type)The type of lifecycle policy.LifecyclePolicyErrorDetail.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
LifecyclePolicyErrorDetail.Builder errorCode(String errorCode)
The error code for the request. For example,
NOT_FOUND.- Parameters:
errorCode- The error code for the request. For example,NOT_FOUND.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
LifecyclePolicyErrorDetail.Builder errorMessage(String errorMessage)
A description of the error. For example,
The specified Lifecycle Policy is not found.- Parameters:
errorMessage- A description of the error. For example,The specified Lifecycle Policy is not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
LifecyclePolicyErrorDetail.Builder name(String name)
The name of the lifecycle policy.
- Parameters:
name- The name of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
LifecyclePolicyErrorDetail.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
LifecyclePolicyErrorDetail.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
-
-