Class CfnPublicKeyProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnPublicKeyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicKeyProps>
- Enclosing interface:
CfnPublicKeyProps
@Stability(Stable)
public static final class CfnPublicKeyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicKeyProps>
A builder for
CfnPublicKeyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPublicKeyProps.getName()publicKeyMaterial(String publicKeyMaterial) Sets the value ofCfnPublicKeyProps.getPublicKeyMaterial()Sets the value ofCfnPublicKeyProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPublicKeyProps.getName()- Parameters:
name- Public key name. The value does not need to be unique.- Returns:
this
-
publicKeyMaterial
Sets the value ofCfnPublicKeyProps.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 ofCfnPublicKeyProps.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<CfnPublicKeyProps>- Returns:
- a new instance of
CfnPublicKeyProps - Throws:
NullPointerException- if any required attribute was not provided
-