Interface StreamingDistributionList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamingDistributionList.Builder,StreamingDistributionList>
,SdkBuilder<StreamingDistributionList.Builder,StreamingDistributionList>
,SdkPojo
- Enclosing class:
- StreamingDistributionList
public static interface StreamingDistributionList.Builder extends SdkPojo, CopyableBuilder<StreamingDistributionList.Builder,StreamingDistributionList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingDistributionList.Builder
isTruncated(Boolean isTruncated)
A flag that indicates whether more streaming distributions remain to be listed.StreamingDistributionList.Builder
items(Collection<StreamingDistributionSummary> items)
A complex type that contains oneStreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.StreamingDistributionList.Builder
items(Consumer<StreamingDistributionSummary.Builder>... items)
A complex type that contains oneStreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.StreamingDistributionList.Builder
items(StreamingDistributionSummary... items)
A complex type that contains oneStreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.StreamingDistributionList.Builder
marker(String marker)
The value you provided for theMarker
request parameter.StreamingDistributionList.Builder
maxItems(Integer maxItems)
The value you provided for theMaxItems
request parameter.StreamingDistributionList.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 RTMP distributions where they left off.StreamingDistributionList.Builder
quantity(Integer quantity)
The number of streaming 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
StreamingDistributionList.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
StreamingDistributionList.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 RTMP 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 RTMP distributions where they left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
StreamingDistributionList.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
StreamingDistributionList.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether more streaming 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 streaming 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
StreamingDistributionList.Builder quantity(Integer quantity)
The number of streaming distributions that were created by the current Amazon Web Services account.
- Parameters:
quantity
- The number of streaming 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
StreamingDistributionList.Builder items(Collection<StreamingDistributionSummary> items)
A complex type that contains one
StreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneStreamingDistributionSummary
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
StreamingDistributionList.Builder items(StreamingDistributionSummary... items)
A complex type that contains one
StreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneStreamingDistributionSummary
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
StreamingDistributionList.Builder items(Consumer<StreamingDistributionSummary.Builder>... items)
A complex type that contains one
This is a convenience method that creates an instance of theStreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.StreamingDistributionSummary.Builder
avoiding the need to create one manually viaStreamingDistributionSummary.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 onStreamingDistributionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-