Class CfnSecurityKeyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnSecurityKeyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityKeyMixinProps>
- Enclosing interface:
CfnSecurityKeyMixinProps
@Stability(Stable)
public static final class CfnSecurityKeyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityKeyMixinProps>
A builder for
CfnSecurityKeyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceId(String instanceId) Sets the value ofCfnSecurityKeyMixinProps.getInstanceId()instanceId(IInstanceRef instanceId) Sets the value ofCfnSecurityKeyMixinProps.getInstanceId()Sets the value ofCfnSecurityKeyMixinProps.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofCfnSecurityKeyMixinProps.getInstanceId()- Parameters:
instanceId- The Amazon Resource Name (ARN) of the instance. Minimum :1Maximum :
100- Returns:
this
-
instanceId
Sets the value ofCfnSecurityKeyMixinProps.getInstanceId()- Parameters:
instanceId- The Amazon Resource Name (ARN) of the instance. Minimum :1Maximum :
100- Returns:
this
-
key
Sets the value ofCfnSecurityKeyMixinProps.getKey()- Parameters:
key- A valid security key in PEM format. For example:."-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"Minimum :
1Maximum :
1024- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityKeyMixinProps>- Returns:
- a new instance of
CfnSecurityKeyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-