public static interface LifecyclePolicyPreviewResult.Builder extends CopyableBuilder<LifecyclePolicyPreviewResult.Builder,LifecyclePolicyPreviewResult>
Modifier and Type | Method and Description |
---|---|
default LifecyclePolicyPreviewResult.Builder |
action(Consumer<LifecyclePolicyRuleAction.Builder> action)
The type of action to be taken.
|
LifecyclePolicyPreviewResult.Builder |
action(LifecyclePolicyRuleAction action)
The type of action to be taken.
|
LifecyclePolicyPreviewResult.Builder |
appliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
|
LifecyclePolicyPreviewResult.Builder |
imageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
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.
|
LifecyclePolicyPreviewResult.Builder |
imageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
LifecyclePolicyPreviewResult.Builder |
imageTags(String... imageTags)
The list of tags associated with this image.
|
copy
apply, build
LifecyclePolicyPreviewResult.Builder imageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.LifecyclePolicyPreviewResult.Builder imageTags(String... imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.LifecyclePolicyPreviewResult.Builder imageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.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.
imagePushedAt
- The date and time, expressed in standard JavaScript date format, at which the current image was pushed
to the repository.LifecyclePolicyPreviewResult.Builder action(LifecyclePolicyRuleAction action)
The type of action to be taken.
action
- The type of action to be taken.default LifecyclePolicyPreviewResult.Builder action(Consumer<LifecyclePolicyRuleAction.Builder> action)
The type of action to be taken.
This is a convenience that creates an instance of theLifecyclePolicyRuleAction.Builder
avoiding the
need to create one manually via LifecyclePolicyRuleAction.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to action(LifecyclePolicyRuleAction)
.action
- a consumer that will call methods on LifecyclePolicyRuleAction.Builder
action(LifecyclePolicyRuleAction)
LifecyclePolicyPreviewResult.Builder appliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
appliedRulePriority
- The priority of the applied rule.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.