Class CfnIntegrationAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnIntegrationAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegrationAssociationProps>
- Enclosing interface:
CfnIntegrationAssociationProps
@Stability(Stable)
public static final class CfnIntegrationAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegrationAssociationProps>
A builder for
CfnIntegrationAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceId
(String instanceId) Sets the value ofCfnIntegrationAssociationProps.getInstanceId()
integrationArn
(String integrationArn) Sets the value ofCfnIntegrationAssociationProps.getIntegrationArn()
integrationType
(String integrationType) Sets the value ofCfnIntegrationAssociationProps.getIntegrationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofCfnIntegrationAssociationProps.getInstanceId()
- Parameters:
instanceId
- The Amazon Resource Name (ARN) of the instance. This parameter is required. Minimum :1
Maximum :
100
- Returns:
this
-
integrationArn
@Stability(Stable) public CfnIntegrationAssociationProps.Builder integrationArn(String integrationArn) Sets the value ofCfnIntegrationAssociationProps.getIntegrationArn()
- Parameters:
integrationArn
- ARN of the integration being associated with the instance. This parameter is required. Minimum :1
Maximum :
140
- Returns:
this
-
integrationType
@Stability(Stable) public CfnIntegrationAssociationProps.Builder integrationType(String integrationType) Sets the value ofCfnIntegrationAssociationProps.getIntegrationType()
- Parameters:
integrationType
- Specifies the integration type to be associated with the instance. This parameter is required. Allowed Values :LEX_BOT
|LAMBDA_FUNCTION
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegrationAssociationProps>
- Returns:
- a new instance of
CfnIntegrationAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-