Class CfnCaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnCaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCaseProps>
- Enclosing interface:
CfnCaseProps
@Stability(Stable)
public static final class CfnCaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCaseProps>
A builder for
CfnCaseProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerId(String customerId) Sets the value ofCfnCaseProps.getCustomerId()Sets the value ofCfnCaseProps.getDomainId()Sets the value ofCfnCaseProps.getTags()templateId(String templateId) Sets the value ofCfnCaseProps.getTemplateId()Sets the value ofCfnCaseProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerId
Sets the value ofCfnCaseProps.getCustomerId()- Parameters:
customerId- The full customer profile ARN for the case. This parameter is required.- Returns:
this
-
domainId
Sets the value ofCfnCaseProps.getDomainId()- Parameters:
domainId- The unique identifier of the Cases domain. This parameter is required.- Returns:
this
-
templateId
Sets the value ofCfnCaseProps.getTemplateId()- Parameters:
templateId- A unique identifier of a template. This parameter is required.- Returns:
this
-
title
Sets the value ofCfnCaseProps.getTitle()- Parameters:
title- The title of the case. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnCaseProps.getTags()- Parameters:
tags- A list of tags for the case.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCaseProps>- Returns:
- a new instance of
CfnCaseProps - Throws:
NullPointerException- if any required attribute was not provided
-