Class CfnInstance.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstance.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance>
- Enclosing class:
CfnInstance
@Stability(Stable)
public static final class CfnInstance.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance>
A fluent builder for
CfnInstance
.-
Method Summary
Modifier and TypeMethodDescriptionattributes
(IResolvable attributes) A toggle for an individual feature at the instance level.attributes
(CfnInstance.AttributesProperty attributes) A toggle for an individual feature at the instance level.build()
static CfnInstance.Builder
directoryId
(String directoryId) The identifier for the directory.identityManagementType
(String identityManagementType) The identity management type.instanceAlias
(String instanceAlias) The alias of instance.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnInstance.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnInstance.Builder
.
-
attributes
A toggle for an individual feature at the instance level.- Parameters:
attributes
- A toggle for an individual feature at the instance level. This parameter is required.- Returns:
this
- See Also:
-
attributes
A toggle for an individual feature at the instance level.- Parameters:
attributes
- A toggle for an individual feature at the instance level. This parameter is required.- Returns:
this
- See Also:
-
identityManagementType
The identity management type.- Parameters:
identityManagementType
- The identity management type. This parameter is required.- Returns:
this
- See Also:
-
directoryId
The identifier for the directory.- Parameters:
directoryId
- The identifier for the directory. This parameter is required.- Returns:
this
- See Also:
-
instanceAlias
The alias of instance.InstanceAlias
is only required whenIdentityManagementType
isCONNECT_MANAGED
orSAML
.InstanceAlias
is not required whenIdentityManagementType
isEXISTING_DIRECTORY
.- Parameters:
instanceAlias
- The alias of instance. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstance>
- Returns:
- a newly built instance of
CfnInstance
.
-