Interface ListPlaybackRestrictionPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPlaybackRestrictionPoliciesResponse.Builder,
,ListPlaybackRestrictionPoliciesResponse> IvsResponse.Builder
,SdkBuilder<ListPlaybackRestrictionPoliciesResponse.Builder,
,ListPlaybackRestrictionPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPlaybackRestrictionPoliciesResponse
public static interface ListPlaybackRestrictionPoliciesResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<ListPlaybackRestrictionPoliciesResponse.Builder,ListPlaybackRestrictionPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more channels thanmaxResults
, usenextToken
in the request to get the next set.playbackRestrictionPolicies
(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies) List of the matching policies.playbackRestrictionPolicies
(Consumer<PlaybackRestrictionPolicySummary.Builder>... playbackRestrictionPolicies) List of the matching policies.playbackRestrictionPolicies
(PlaybackRestrictionPolicySummary... playbackRestrictionPolicies) List of the matching policies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
playbackRestrictionPolicies
ListPlaybackRestrictionPoliciesResponse.Builder playbackRestrictionPolicies(Collection<PlaybackRestrictionPolicySummary> playbackRestrictionPolicies) List of the matching policies.
- Parameters:
playbackRestrictionPolicies
- List of the matching policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackRestrictionPolicies
ListPlaybackRestrictionPoliciesResponse.Builder playbackRestrictionPolicies(PlaybackRestrictionPolicySummary... playbackRestrictionPolicies) List of the matching policies.
- Parameters:
playbackRestrictionPolicies
- List of the matching policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackRestrictionPolicies
ListPlaybackRestrictionPoliciesResponse.Builder playbackRestrictionPolicies(Consumer<PlaybackRestrictionPolicySummary.Builder>... playbackRestrictionPolicies) List of the matching policies.
This is a convenience method that creates an instance of thePlaybackRestrictionPolicySummary.Builder
avoiding the need to create one manually viaPlaybackRestrictionPolicySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplaybackRestrictionPolicies(List<PlaybackRestrictionPolicySummary>)
.- Parameters:
playbackRestrictionPolicies
- a consumer that will call methods onPlaybackRestrictionPolicySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more channels than
maxResults
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more channels thanmaxResults
, usenextToken
in the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-