Class PlaybackConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.PlaybackConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PlaybackConfigurationReference>
- Enclosing interface:
PlaybackConfigurationReference
@Stability(Stable)
public static final class PlaybackConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<PlaybackConfigurationReference>
A builder for
PlaybackConfigurationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.playbackConfigurationArn
(String playbackConfigurationArn) Sets the value ofPlaybackConfigurationReference.getPlaybackConfigurationArn()
playbackConfigurationName
(String playbackConfigurationName) Sets the value ofPlaybackConfigurationReference.getPlaybackConfigurationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
playbackConfigurationArn
@Stability(Stable) public PlaybackConfigurationReference.Builder playbackConfigurationArn(String playbackConfigurationArn) Sets the value ofPlaybackConfigurationReference.getPlaybackConfigurationArn()
- Parameters:
playbackConfigurationArn
- The ARN of the PlaybackConfiguration resource. This parameter is required.- Returns:
this
-
playbackConfigurationName
@Stability(Stable) public PlaybackConfigurationReference.Builder playbackConfigurationName(String playbackConfigurationName) Sets the value ofPlaybackConfigurationReference.getPlaybackConfigurationName()
- Parameters:
playbackConfigurationName
- The Name of the PlaybackConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PlaybackConfigurationReference>
- Returns:
- a new instance of
PlaybackConfigurationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-