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, usenextTokenin 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
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If there are more channels than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more channels thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaPlaybackRestrictionPolicySummary.builder().When the
Consumercompletes,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:
-