Interface DistributionList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DistributionList.Builder,DistributionList>
,SdkBuilder<DistributionList.Builder,DistributionList>
,SdkPojo
- Enclosing class:
- DistributionList
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.Builder
isTruncated(Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed.DistributionList.Builder
items(Collection<DistributionSummary> items)
A complex type that contains oneDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.DistributionList.Builder
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.DistributionList.Builder
items(DistributionSummary... items)
A complex type that contains oneDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.DistributionList.Builder
marker(String marker)
The value you provided for theMarker
request parameter.DistributionList.Builder
maxItems(Integer maxItems)
The value you provided for theMaxItems
request parameter.DistributionList.Builder
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.DistributionList.Builder
quantity(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, sdkFields
-
-
-
-
Method Detail
-
marker
DistributionList.Builder marker(String 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
DistributionList.Builder nextMarker(String 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
DistributionList.Builder maxItems(Integer 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
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
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
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
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
DistributionList.Builder items(DistributionSummary... 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
DistributionList.Builder items(Consumer<DistributionSummary.Builder>... 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 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
)
-
-