Class CfnSecurityKey.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityKey>
- Enclosing class:
CfnSecurityKey
@Stability(Stable)
public static final class CfnSecurityKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityKey>
A fluent builder for
CfnSecurityKey
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSecurityKey.Builder
instanceId
(String instanceId) The Amazon Resource Name (ARN) of the instance.A valid security key in PEM format.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSecurityKey.Builder
.
-
instanceId
The Amazon Resource Name (ARN) of the instance.Minimum :
1
Maximum :
100
- Parameters:
instanceId
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
key
A valid security key in PEM format.Minimum :
1
Maximum :
1024
- Parameters:
key
- A valid security key in PEM format. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityKey>
- Returns:
- a newly built instance of
CfnSecurityKey
.
-