Interface LifecyclePolicyDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LifecyclePolicyDetail.Builder,
,LifecyclePolicyDetail> SdkBuilder<LifecyclePolicyDetail.Builder,
,LifecyclePolicyDetail> SdkPojo
- Enclosing class:
LifecyclePolicyDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault LifecyclePolicyDetail.Builder
Configuration details for the policy action.action
(LifecyclePolicyDetailAction action) Configuration details for the policy action.default LifecyclePolicyDetail.Builder
exclusionRules
(Consumer<LifecyclePolicyDetailExclusionRules.Builder> exclusionRules) Additional rules to specify resources that should be exempt from policy actions.exclusionRules
(LifecyclePolicyDetailExclusionRules exclusionRules) Additional rules to specify resources that should be exempt from policy actions.default LifecyclePolicyDetail.Builder
Specifies the resources that the lifecycle policy applies to.filter
(LifecyclePolicyDetailFilter filter) Specifies the resources that the lifecycle policy applies to.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, sdkFields
-
Method Details
-
action
Configuration details for the policy action.
- Parameters:
action
- Configuration details for the policy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Configuration details for the policy action.
This is a convenience method that creates an instance of theLifecyclePolicyDetailAction.Builder
avoiding the need to create one manually viaLifecyclePolicyDetailAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(LifecyclePolicyDetailAction)
.- Parameters:
action
- a consumer that will call methods onLifecyclePolicyDetailAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filter
Specifies the resources that the lifecycle policy applies to.
- Parameters:
filter
- Specifies the resources that the lifecycle policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Specifies the resources that the lifecycle policy applies to.
This is a convenience method that creates an instance of theLifecyclePolicyDetailFilter.Builder
avoiding the need to create one manually viaLifecyclePolicyDetailFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(LifecyclePolicyDetailFilter)
.- Parameters:
filter
- a consumer that will call methods onLifecyclePolicyDetailFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclusionRules
Additional rules to specify resources that should be exempt from policy actions.
- Parameters:
exclusionRules
- Additional rules to specify resources that should be exempt from policy actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionRules
default LifecyclePolicyDetail.Builder exclusionRules(Consumer<LifecyclePolicyDetailExclusionRules.Builder> exclusionRules) Additional rules to specify resources that should be exempt from policy actions.
This is a convenience method that creates an instance of theLifecyclePolicyDetailExclusionRules.Builder
avoiding the need to create one manually viaLifecyclePolicyDetailExclusionRules.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexclusionRules(LifecyclePolicyDetailExclusionRules)
.- Parameters:
exclusionRules
- a consumer that will call methods onLifecyclePolicyDetailExclusionRules.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-