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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LifecyclePolicyPreviewResult.Builderaction(Consumer<LifecyclePolicyRuleAction.Builder> action)The type of action to be taken.LifecyclePolicyPreviewResult.Builderaction(LifecyclePolicyRuleAction action)The type of action to be taken.LifecyclePolicyPreviewResult.BuilderappliedRulePriority(Integer appliedRulePriority)The priority of the applied rule.LifecyclePolicyPreviewResult.BuilderimageDigest(String imageDigest)Thesha256digest of the image manifest.LifecyclePolicyPreviewResult.BuilderimagePushedAt(Instant imagePushedAt)The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.LifecyclePolicyPreviewResult.BuilderimageTags(String... imageTags)The list of tags associated with this image.LifecyclePolicyPreviewResult.BuilderimageTags(Collection<String> imageTags)The list of tags associated with this image.-
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
-
imageTags
LifecyclePolicyPreviewResult.Builder imageTags(Collection<String> 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
LifecyclePolicyPreviewResult.Builder imageTags(String... 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
LifecyclePolicyPreviewResult.Builder imageDigest(String 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
LifecyclePolicyPreviewResult.Builder imagePushedAt(Instant 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
LifecyclePolicyPreviewResult.Builder action(LifecyclePolicyRuleAction 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:
action(LifecyclePolicyRuleAction)
-
appliedRulePriority
LifecyclePolicyPreviewResult.Builder appliedRulePriority(Integer 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.
-
-