Class PlaybackKeyPairProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.alpha.PlaybackKeyPairProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PlaybackKeyPairProps>
- Enclosing interface:
PlaybackKeyPairProps
@Stability(Experimental)
public static final class PlaybackKeyPairProps.Builder
extends Object
implements software.amazon.jsii.Builder<PlaybackKeyPairProps>
A builder for
PlaybackKeyPairProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.playbackKeyPairName
(String playbackKeyPairName) Sets the value ofPlaybackKeyPairProps.getPlaybackKeyPairName()
publicKeyMaterial
(String publicKeyMaterial) Sets the value ofPlaybackKeyPairProps.getPublicKeyMaterial()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicKeyMaterial
@Stability(Experimental) public PlaybackKeyPairProps.Builder publicKeyMaterial(String publicKeyMaterial) Sets the value ofPlaybackKeyPairProps.getPublicKeyMaterial()
- Parameters:
publicKeyMaterial
- The public portion of a customer-generated key pair. This parameter is required.- Returns:
this
-
playbackKeyPairName
@Stability(Experimental) public PlaybackKeyPairProps.Builder playbackKeyPairName(String playbackKeyPairName) Sets the value ofPlaybackKeyPairProps.getPlaybackKeyPairName()
- Parameters:
playbackKeyPairName
- An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PlaybackKeyPairProps>
- Returns:
- a new instance of
PlaybackKeyPairProps
- Throws:
NullPointerException
- if any required attribute was not provided
-