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
Modifier and TypeMethodDescriptionThe error code for the request.errorMessage(String errorMessage) A description of the error.The name of the lifecycle policy.The type of lifecycle policy.type(LifecyclePolicyType type) The type of lifecycle policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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:
-
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:
-