Interface UpdatePlaybackRestrictionPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdatePlaybackRestrictionPolicyResponse.Builder,
,UpdatePlaybackRestrictionPolicyResponse> IvsResponse.Builder
,SdkBuilder<UpdatePlaybackRestrictionPolicyResponse.Builder,
,UpdatePlaybackRestrictionPolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdatePlaybackRestrictionPolicyResponse
public static interface UpdatePlaybackRestrictionPolicyResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<UpdatePlaybackRestrictionPolicyResponse.Builder,UpdatePlaybackRestrictionPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionplaybackRestrictionPolicy
(Consumer<PlaybackRestrictionPolicy.Builder> playbackRestrictionPolicy) Object specifying the updated policy.playbackRestrictionPolicy
(PlaybackRestrictionPolicy playbackRestrictionPolicy) Object specifying the updated policy.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
-
playbackRestrictionPolicy
UpdatePlaybackRestrictionPolicyResponse.Builder playbackRestrictionPolicy(PlaybackRestrictionPolicy playbackRestrictionPolicy) Object specifying the updated policy.
- Parameters:
playbackRestrictionPolicy
- Object specifying the updated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackRestrictionPolicy
default UpdatePlaybackRestrictionPolicyResponse.Builder playbackRestrictionPolicy(Consumer<PlaybackRestrictionPolicy.Builder> playbackRestrictionPolicy) Object specifying the updated policy.
This is a convenience method that creates an instance of thePlaybackRestrictionPolicy.Builder
avoiding the need to create one manually viaPlaybackRestrictionPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplaybackRestrictionPolicy(PlaybackRestrictionPolicy)
.- Parameters:
playbackRestrictionPolicy
- a consumer that will call methods onPlaybackRestrictionPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-