Interface LifecyclePolicyPreviewResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyPreviewResult.Builder,,LifecyclePolicyPreviewResult> SdkBuilder<LifecyclePolicyPreviewResult.Builder,,LifecyclePolicyPreviewResult> SdkPojo
- Enclosing class:
LifecyclePolicyPreviewResult
public static interface LifecyclePolicyPreviewResult.Builder
extends SdkPojo, CopyableBuilder<LifecyclePolicyPreviewResult.Builder,LifecyclePolicyPreviewResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of action to be taken.action(LifecyclePolicyRuleAction action) The type of action to be taken.appliedRulePriority(Integer appliedRulePriority) The priority of the applied rule.imageDigest(String imageDigest) Thesha256digest of the image manifest.imagePushedAt(Instant imagePushedAt) The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.The list of tags associated with this image.imageTags(Collection<String> imageTags) The list of tags associated with this image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
imageTags
The list of tags associated with this image.
- Parameters:
imageTags- The list of tags associated with this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTags
The list of tags associated with this image.
- Parameters:
imageTags- The list of tags associated with this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageDigest
The
sha256digest of the image manifest.- Parameters:
imageDigest- Thesha256digest of the image manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imagePushedAt
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
- Parameters:
imagePushedAt- The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The type of action to be taken.
- Parameters:
action- The type of action to be taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default LifecyclePolicyPreviewResult.Builder action(Consumer<LifecyclePolicyRuleAction.Builder> action) The type of action to be taken.
This is a convenience method that creates an instance of theLifecyclePolicyRuleAction.Builderavoiding the need to create one manually viaLifecyclePolicyRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(LifecyclePolicyRuleAction).- Parameters:
action- a consumer that will call methods onLifecyclePolicyRuleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appliedRulePriority
The priority of the applied rule.
- Parameters:
appliedRulePriority- The priority of the applied rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-