Class PlaybackKeyPairProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofPlaybackKeyPairProps.getName()
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
-
name
Sets the value ofPlaybackKeyPairProps.getName()
- Parameters:
name
- 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
-