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 oneDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.items
(Consumer<DistributionSummary.Builder>... items) A complex type that contains oneDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.items
(DistributionSummary... items) A complex type that contains oneDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.The value you provided for theMarker
request parameter.The value you provided for theMaxItems
request parameter.nextMarker
(String nextMarker) IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
marker
The value you provided for the
Marker
request parameter.- Parameters:
marker
- The value you provided for theMarker
request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
If
IsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your distributions where they left off.- Parameters:
nextMarker
- IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request 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
MaxItems
request parameter.- Parameters:
maxItems
- The value you provided for theMaxItems
request 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
Marker
request 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 theMarker
request 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
DistributionSummary
element for each distribution that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneDistributionSummary
element 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
DistributionSummary
element for each distribution that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneDistributionSummary
element 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 theDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.DistributionSummary.Builder
avoiding the need to create one manually viaDistributionSummary.builder()
.When the
Consumer
completes,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:
-