Interface LifecyclePolicySummary.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LifecyclePolicySummary.Builder,,- LifecyclePolicySummary> - SdkBuilder<LifecyclePolicySummary.Builder,,- LifecyclePolicySummary> - SdkPojo
- Enclosing class:
- LifecyclePolicySummary
- 
Method SummaryModifier and TypeMethodDescriptiondefaultPolicy(Boolean defaultPolicy) [Default policies only] The type of default policy.description(String description) The description of the lifecycle policy.The identifier of the lifecycle policy.policyType(String policyType) The type of policy.policyType(PolicyTypeValues policyType) The type of policy.The activation state of the lifecycle policy.state(GettablePolicyStateValues state) The activation state of the lifecycle policy.The tags.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
policyIdThe identifier of the lifecycle policy. - Parameters:
- policyId- The identifier of the lifecycle policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe 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.
 
- 
stateThe activation state of the lifecycle policy. - Parameters:
- state- The activation state of the lifecycle policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe activation state of the lifecycle policy. - Parameters:
- state- The activation state of the lifecycle policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tags. - Parameters:
- tags- The tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyTypeThe type of policy. EBS_SNAPSHOT_MANAGEMENTindicates that the policy manages the lifecycle of Amazon EBS snapshots.IMAGE_MANAGEMENTindicates that the policy manages the lifecycle of EBS-backed AMIs.EVENT_BASED_POLICYindicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.- Parameters:
- policyType- The type of policy.- EBS_SNAPSHOT_MANAGEMENTindicates that the policy manages the lifecycle of Amazon EBS snapshots.- IMAGE_MANAGEMENTindicates that the policy manages the lifecycle of EBS-backed AMIs.- EVENT_BASED_POLICYindicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
policyTypeThe type of policy. EBS_SNAPSHOT_MANAGEMENTindicates that the policy manages the lifecycle of Amazon EBS snapshots.IMAGE_MANAGEMENTindicates that the policy manages the lifecycle of EBS-backed AMIs.EVENT_BASED_POLICYindicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.- Parameters:
- policyType- The type of policy.- EBS_SNAPSHOT_MANAGEMENTindicates that the policy manages the lifecycle of Amazon EBS snapshots.- IMAGE_MANAGEMENTindicates that the policy manages the lifecycle of EBS-backed AMIs.- EVENT_BASED_POLICYindicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
defaultPolicy[Default policies only] The type of default policy. Values include: - 
 VOLUME- Default policy for EBS snapshots
- 
 INSTANCE- Default policy for EBS-backed AMIs
 - Parameters:
- defaultPolicy- [Default policies only] The type of default policy. Values include:- 
        VOLUME- Default policy for EBS snapshots
- 
        INSTANCE- Default policy for EBS-backed AMIs
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
 
-