Interface DistributionList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DistributionList.Builder,DistributionList>,SdkBuilder<DistributionList.Builder,DistributionList>,SdkPojo
- Enclosing class:
- DistributionList
@Mutable @NotThreadSafe public static interface DistributionList.Builder extends SdkPojo, CopyableBuilder<DistributionList.Builder,DistributionList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributionList.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether more distributions remain to be listed.DistributionList.Builderitems(Collection<DistributionSummary> items)A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.DistributionList.Builderitems(Consumer<DistributionSummary.Builder>... items)A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.DistributionList.Builderitems(DistributionSummary... items)A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.DistributionList.Buildermarker(String marker)The value you provided for theMarkerrequest parameter.DistributionList.BuildermaxItems(Integer maxItems)The value you provided for theMaxItemsrequest parameter.DistributionList.BuildernextMarker(String nextMarker)IfIsTruncatedistrue, this element is present and contains the value you can use for theMarkerrequest parameter to continue listing your distributions where they left off.DistributionList.Builderquantity(Integer quantity)The number of distributions that were created by the current Amazon Web Services account.-
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
-
marker
DistributionList.Builder marker(String marker)
The value you provided for the
Markerrequest parameter.- Parameters:
marker- The value you provided for theMarkerrequest parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
DistributionList.Builder nextMarker(String nextMarker)
If
IsTruncatedistrue, this element is present and contains the value you can use for theMarkerrequest parameter to continue listing your distributions where they left off.- Parameters:
nextMarker- IfIsTruncatedistrue, this element is present and contains the value you can use for theMarkerrequest parameter to continue listing your distributions where they left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
DistributionList.Builder maxItems(Integer maxItems)
The value you provided for the
MaxItemsrequest parameter.- Parameters:
maxItems- The value you provided for theMaxItemsrequest parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
DistributionList.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the
Markerrequest parameter to retrieve more distributions in the list.- Parameters:
isTruncated- A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarkerrequest parameter to retrieve more distributions in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
DistributionList.Builder quantity(Integer quantity)
The number of distributions that were created by the current Amazon Web Services account.
- Parameters:
quantity- The number of distributions that were created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
DistributionList.Builder items(Collection<DistributionSummary> items)
A complex type that contains one
DistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.- Parameters:
items- A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
DistributionList.Builder items(DistributionSummary... items)
A complex type that contains one
DistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.- Parameters:
items- A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
DistributionList.Builder items(Consumer<DistributionSummary.Builder>... items)
A complex type that contains one
This is a convenience method that creates an instance of theDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.DistributionSummary.Builderavoiding the need to create one manually viaDistributionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onDistributionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
-