Class CfnPlaybackKeyPairProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnPlaybackKeyPairProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackKeyPairProps>
- Enclosing interface:
CfnPlaybackKeyPairProps
@Stability(Stable)
public static final class CfnPlaybackKeyPairProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackKeyPairProps>
A builder for
CfnPlaybackKeyPairProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPlaybackKeyPairProps.getName()
publicKeyMaterial
(String publicKeyMaterial) Sets the value ofCfnPlaybackKeyPairProps.getPublicKeyMaterial()
Sets the value ofCfnPlaybackKeyPairProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPlaybackKeyPairProps.getName()
- Parameters:
name
- Playback-key-pair name. The value does not need to be unique.- Returns:
this
-
publicKeyMaterial
@Stability(Stable) public CfnPlaybackKeyPairProps.Builder publicKeyMaterial(String publicKeyMaterial) Sets the value ofCfnPlaybackKeyPairProps.getPublicKeyMaterial()
- Parameters:
publicKeyMaterial
- The public portion of a customer-generated key pair.- Returns:
this
-
tags
Sets the value ofCfnPlaybackKeyPairProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaybackKeyPairProps>
- Returns:
- a new instance of
CfnPlaybackKeyPairProps
- Throws:
NullPointerException
- if any required attribute was not provided
-