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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicyPreviewSummary.BuilderexpiringImageTotalCount(Integer expiringImageTotalCount)The number of expiring images.LifecyclePolicyPreviewSummary.BuildertransitioningImageTotalCounts(Collection<TransitioningImageTotalCount> transitioningImageTotalCounts)The total count of images that will be transitioned to each storage class.LifecyclePolicyPreviewSummary.BuildertransitioningImageTotalCounts(Consumer<TransitioningImageTotalCount.Builder>... transitioningImageTotalCounts)The total count of images that will be transitioned to each storage class.LifecyclePolicyPreviewSummary.BuildertransitioningImageTotalCounts(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
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
-
expiringImageTotalCount
LifecyclePolicyPreviewSummary.Builder expiringImageTotalCount(Integer 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 to#transitioningImageTotalCounts(List.) - 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:
#transitioningImageTotalCounts(java.util.Collection)
-
-