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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdatePlaybackRestrictionPolicyResponse.BuilderplaybackRestrictionPolicy(Consumer<PlaybackRestrictionPolicy.Builder> playbackRestrictionPolicy)Object specifying the updated policy.UpdatePlaybackRestrictionPolicyResponse.BuilderplaybackRestrictionPolicy(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 Detail
-
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.Builderavoiding the need to create one manually viaPlaybackRestrictionPolicy.builder().When the
Consumercompletes,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:
playbackRestrictionPolicy(PlaybackRestrictionPolicy)
-
-