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