Interface LifecyclePolicyPreviewSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyPreviewSummary.Builder,,LifecyclePolicyPreviewSummary> SdkBuilder<LifecyclePolicyPreviewSummary.Builder,,LifecyclePolicyPreviewSummary> SdkPojo
- Enclosing class:
LifecyclePolicyPreviewSummary
@Mutable
@NotThreadSafe
public static interface LifecyclePolicyPreviewSummary.Builder
extends SdkPojo, CopyableBuilder<LifecyclePolicyPreviewSummary.Builder,LifecyclePolicyPreviewSummary>
-
Method Summary
Modifier and TypeMethodDescriptionexpiringImageTotalCount(Integer expiringImageTotalCount) The number of expiring images.transitioningImageTotalCounts(Collection<TransitioningImageTotalCount> transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class.transitioningImageTotalCounts(Consumer<TransitioningImageTotalCount.Builder>... transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class.transitioningImageTotalCounts(TransitioningImageTotalCount... transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class.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, sdkFieldNameToField, sdkFields
-
Method Details
-
expiringImageTotalCount
The number of expiring images.
- Parameters:
expiringImageTotalCount- The number of expiring images.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitioningImageTotalCounts
LifecyclePolicyPreviewSummary.Builder transitioningImageTotalCounts(Collection<TransitioningImageTotalCount> transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class. This field is only present if at least one image will be transitoned in the summary.
- Parameters:
transitioningImageTotalCounts- The total count of images that will be transitioned to each storage class. This field is only present if at least one image will be transitoned in the summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitioningImageTotalCounts
LifecyclePolicyPreviewSummary.Builder transitioningImageTotalCounts(TransitioningImageTotalCount... transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class. This field is only present if at least one image will be transitoned in the summary.
- Parameters:
transitioningImageTotalCounts- The total count of images that will be transitioned to each storage class. This field is only present if at least one image will be transitoned in the summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitioningImageTotalCounts
LifecyclePolicyPreviewSummary.Builder transitioningImageTotalCounts(Consumer<TransitioningImageTotalCount.Builder>... transitioningImageTotalCounts) The total count of images that will be transitioned to each storage class. This field is only present if at least one image will be transitoned in the summary.
This is a convenience method that creates an instance of theTransitioningImageTotalCount.Builderavoiding the need to create one manually viaTransitioningImageTotalCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitioningImageTotalCounts(List<TransitioningImageTotalCount>).- Parameters:
transitioningImageTotalCounts- a consumer that will call methods onTransitioningImageTotalCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-