Class CfnPlaybackKeyPairMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ivs.CfnPlaybackKeyPairMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackKeyPairMixinProps>
- Enclosing interface:
CfnPlaybackKeyPairMixinProps
@Stability(Stable)
public static final class CfnPlaybackKeyPairMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackKeyPairMixinProps>
A builder for
CfnPlaybackKeyPairMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlaybackKeyPairMixinProps.getName()publicKeyMaterial(String publicKeyMaterial) Sets the value ofCfnPlaybackKeyPairMixinProps.getPublicKeyMaterial()Sets the value ofCfnPlaybackKeyPairMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPlaybackKeyPairMixinProps.getName()- Parameters:
name- Playback-key-pair name. The value does not need to be unique.- Returns:
this
-
publicKeyMaterial
@Stability(Stable) public CfnPlaybackKeyPairMixinProps.Builder publicKeyMaterial(String publicKeyMaterial) Sets the value ofCfnPlaybackKeyPairMixinProps.getPublicKeyMaterial()- Parameters:
publicKeyMaterial- The public portion of a customer-generated key pair. Note that this field is required to create the AWS::IVS::PlaybackKeyPair resource.- Returns:
this
-
tags
Sets the value ofCfnPlaybackKeyPairMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaybackKeyPairMixinProps>- Returns:
- a new instance of
CfnPlaybackKeyPairMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-