Class CfnRelatedItemProps.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnRelatedItemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRelatedItemProps>
- Enclosing interface:
CfnRelatedItemProps
@Stability(Stable)
public static final class CfnRelatedItemProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRelatedItemProps>
A builder for
CfnRelatedItemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRelatedItemProps.getCaseId()content(IResolvable content) Sets the value ofCfnRelatedItemProps.getContent()Sets the value ofCfnRelatedItemProps.getContent()Sets the value ofCfnRelatedItemProps.getDomainId()Sets the value ofCfnRelatedItemProps.getTags()Sets the value ofCfnRelatedItemProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caseId
Sets the value ofCfnRelatedItemProps.getCaseId()- Parameters:
caseId- A unique identifier of the case. This parameter is required.- Returns:
this
-
content
Sets the value ofCfnRelatedItemProps.getContent()- Parameters:
content- Represents the content of a related item. This parameter is required.- Returns:
this
-
content
@Stability(Stable) public CfnRelatedItemProps.Builder content(CfnRelatedItem.RelatedItemContentProperty content) Sets the value ofCfnRelatedItemProps.getContent()- Parameters:
content- Represents the content of a related item. This parameter is required.- Returns:
this
-
domainId
Sets the value ofCfnRelatedItemProps.getDomainId()- Parameters:
domainId- The unique identifier of the Cases domain. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnRelatedItemProps.getType()- Parameters:
type- The type of a related item. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnRelatedItemProps.getTags()- Parameters:
tags- A list of tags on the related item.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRelatedItemProps>- Returns:
- a new instance of
CfnRelatedItemProps - Throws:
NullPointerException- if any required attribute was not provided
-