Interface LifecyclePolicyResourceSelection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyResourceSelection.Builder,LifecyclePolicyResourceSelection>,SdkBuilder<LifecyclePolicyResourceSelection.Builder,LifecyclePolicyResourceSelection>,SdkPojo
- Enclosing class:
- LifecyclePolicyResourceSelection
public static interface LifecyclePolicyResourceSelection.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicyResourceSelection.Builder,LifecyclePolicyResourceSelection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicyResourceSelection.Builderrecipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.LifecyclePolicyResourceSelection.Builderrecipes(Consumer<LifecyclePolicyResourceSelectionRecipe.Builder>... recipes)A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.LifecyclePolicyResourceSelection.Builderrecipes(LifecyclePolicyResourceSelectionRecipe... recipes)A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.LifecyclePolicyResourceSelection.BuildertagMap(Map<String,String> tagMap)A list of tags that are used as selection criteria for 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 Detail
-
recipes
LifecyclePolicyResourceSelection.Builder recipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
- Parameters:
recipes- A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
LifecyclePolicyResourceSelection.Builder recipes(LifecyclePolicyResourceSelectionRecipe... recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
- Parameters:
recipes- A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
LifecyclePolicyResourceSelection.Builder recipes(Consumer<LifecyclePolicyResourceSelectionRecipe.Builder>... recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
This is a convenience method that creates an instance of theLifecyclePolicyResourceSelectionRecipe.Builderavoiding the need to create one manually viaLifecyclePolicyResourceSelectionRecipe.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recipes(List.) - Parameters:
recipes- a consumer that will call methods onLifecyclePolicyResourceSelectionRecipe.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#recipes(java.util.Collection)
-
tagMap
LifecyclePolicyResourceSelection.Builder tagMap(Map<String,String> tagMap)
A list of tags that are used as selection criteria for the resources that the lifecycle policy applies to.
- Parameters:
tagMap- A list of tags that are used as selection criteria for the resources that the lifecycle policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-