Interface LifecyclePolicyDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LifecyclePolicyDetail.Builder,
,LifecyclePolicyDetail> SdkBuilder<LifecyclePolicyDetail.Builder,
,LifecyclePolicyDetail> SdkPojo
- Enclosing class:
LifecyclePolicyDetail
@Mutable
@NotThreadSafe
public static interface LifecyclePolicyDetail.Builder
extends SdkPojo, CopyableBuilder<LifecyclePolicyDetail.Builder,LifecyclePolicyDetail>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(Long createdDate) The date the lifecycle policy was created.description
(String description) The description of the lifecycle policy.lastModifiedDate
(Long lastModifiedDate) The timestamp of when the lifecycle policy was last modified.The name of the lifecycle policy.The JSON policy document without any whitespaces.policyVersion
(String policyVersion) The version 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
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 Details
-
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:
-
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.
-
policyVersion
The version of the lifecycle policy.
- Parameters:
policyVersion
- The version of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the lifecycle policy.
- Parameters:
description
- The description of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON policy document without any whitespaces.
- Parameters:
policy
- The JSON policy document without any whitespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date the lifecycle policy was created.
- Parameters:
createdDate
- The date the lifecycle policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The timestamp of when the lifecycle policy was last modified.
- Parameters:
lastModifiedDate
- The timestamp of when the lifecycle policy was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-