Interface DistributionList.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DistributionList.Builder,,DistributionList> SdkBuilder<DistributionList.Builder,,DistributionList> SdkPojo
- Enclosing class:
DistributionList
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated(Boolean isTruncated) A flag that indicates whether more distributions remain to be listed.items(Collection<DistributionSummary> items) A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.items(Consumer<DistributionSummary.Builder>... items) A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.items(DistributionSummary... items) A complex type that contains oneDistributionSummaryelement for each distribution that was created by the current Amazon Web Services account.The value you provided for theMarkerrequest parameter.The value you provided for theMaxItemsrequest parameter.nextMarker(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.The number of distributions that were created by the current Amazon Web Services account.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, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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 toitems(List<DistributionSummary>).- 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:
-