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