Interface LifecyclePolicyDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyDetail.Builder,LifecyclePolicyDetail>,SdkBuilder<LifecyclePolicyDetail.Builder,LifecyclePolicyDetail>,SdkPojo
- Enclosing class:
- LifecyclePolicyDetail
public static interface LifecyclePolicyDetail.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicyDetail.Builder,LifecyclePolicyDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicyDetail.BuildercreatedDate(Long createdDate)The date the lifecycle policy was created.LifecyclePolicyDetail.Builderdescription(String description)The description of the lifecycle policy.LifecyclePolicyDetail.BuilderlastModifiedDate(Long lastModifiedDate)The timestamp of when the lifecycle policy was last modified.LifecyclePolicyDetail.Buildername(String name)The name of the lifecycle policy.LifecyclePolicyDetail.Builderpolicy(Document policy)The JSON policy document without any whitespaces.LifecyclePolicyDetail.BuilderpolicyVersion(String policyVersion)The version of the lifecycle policy.LifecyclePolicyDetail.Buildertype(String type)The type of lifecycle policy.LifecyclePolicyDetail.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
-
createdDate
LifecyclePolicyDetail.Builder createdDate(Long 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.
-
description
LifecyclePolicyDetail.Builder description(String 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.
-
lastModifiedDate
LifecyclePolicyDetail.Builder lastModifiedDate(Long 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.
-
name
LifecyclePolicyDetail.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.
-
policy
LifecyclePolicyDetail.Builder policy(Document 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.
-
policyVersion
LifecyclePolicyDetail.Builder policyVersion(String 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.
-
type
LifecyclePolicyDetail.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
LifecyclePolicyDetail.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
-
-