Class CfnInstanceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnInstanceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceMixinProps>
- Enclosing interface:
CfnInstanceMixinProps
@Stability(Stable)
public static final class CfnInstanceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceMixinProps>
A builder for
CfnInstanceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(CfnInstancePropsMixin.AttributesProperty attributes) Sets the value ofCfnInstanceMixinProps.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnInstanceMixinProps.getAttributes()build()Builds the configured instance.directoryId(String directoryId) Sets the value ofCfnInstanceMixinProps.getDirectoryId()identityManagementType(String identityManagementType) Sets the value ofCfnInstanceMixinProps.getIdentityManagementType()instanceAlias(String instanceAlias) Sets the value ofCfnInstanceMixinProps.getInstanceAlias()Sets the value ofCfnInstanceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
Sets the value ofCfnInstanceMixinProps.getAttributes()- Parameters:
attributes- A toggle for an individual feature at the instance level.- Returns:
this
-
attributes
@Stability(Stable) public CfnInstanceMixinProps.Builder attributes(CfnInstancePropsMixin.AttributesProperty attributes) Sets the value ofCfnInstanceMixinProps.getAttributes()- Parameters:
attributes- A toggle for an individual feature at the instance level.- Returns:
this
-
directoryId
Sets the value ofCfnInstanceMixinProps.getDirectoryId()- Parameters:
directoryId- The identifier for the directory.- Returns:
this
-
identityManagementType
@Stability(Stable) public CfnInstanceMixinProps.Builder identityManagementType(String identityManagementType) Sets the value ofCfnInstanceMixinProps.getIdentityManagementType()- Parameters:
identityManagementType- The identity management type.- Returns:
this
-
instanceAlias
Sets the value ofCfnInstanceMixinProps.getInstanceAlias()- Parameters:
instanceAlias- The alias of instance.InstanceAliasis only required whenIdentityManagementTypeisCONNECT_MANAGEDorSAML.InstanceAliasis not required whenIdentityManagementTypeisEXISTING_DIRECTORY.- Returns:
this
-
tags
Sets the value ofCfnInstanceMixinProps.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<CfnInstanceMixinProps>- Returns:
- a new instance of
CfnInstanceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-