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