Class CfnUseCaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnUseCaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUseCaseProps>
- Enclosing interface:
CfnUseCaseProps
@Stability(Stable)
public static final class CfnUseCaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUseCaseProps>
A builder for
CfnUseCaseProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceId(String instanceId) Sets the value ofCfnUseCaseProps.getInstanceId()integrationAssociationId(String integrationAssociationId) Sets the value ofCfnUseCaseProps.getIntegrationAssociationId()Sets the value ofCfnUseCaseProps.getTags()useCaseType(String useCaseType) Sets the value ofCfnUseCaseProps.getUseCaseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofCfnUseCaseProps.getInstanceId()- Parameters:
instanceId- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
integrationAssociationId
@Stability(Stable) public CfnUseCaseProps.Builder integrationAssociationId(String integrationAssociationId) Sets the value ofCfnUseCaseProps.getIntegrationAssociationId()- Parameters:
integrationAssociationId- The identifier for the integration association. This parameter is required.- Returns:
this
-
useCaseType
Sets the value ofCfnUseCaseProps.getUseCaseType()- Parameters:
useCaseType- The type of use case to associate to the integration association. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnUseCaseProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUseCaseProps>- Returns:
- a new instance of
CfnUseCaseProps - Throws:
NullPointerException- if any required attribute was not provided
-