Interface CfnRelatedItemProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRelatedItemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:46.826Z")
@Stability(Stable)
public interface CfnRelatedItemProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRelatedItem.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;
CfnRelatedItemProps cfnRelatedItemProps = CfnRelatedItemProps.builder()
.caseId("caseId")
.content(RelatedItemContentProperty.builder()
.comment(CommentContentProperty.builder()
.body("body")
.contentType("contentType")
.build())
.build())
.domainId("domainId")
.type("type")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRelatedItemPropsstatic final classAn implementation forCfnRelatedItemProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRelatedItemProps.Builderbuilder()A unique identifier of the case.Represents the content of a related item.The unique identifier of the Cases domain.getTags()A list of tags on the related item.getType()The type of a related item.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCaseId
A unique identifier of the case.- See Also:
-
getContent
Represents the content of a related item.Returns union: either
IResolvableorCfnRelatedItem.RelatedItemContentProperty- See Also:
-
getDomainId
The unique identifier of the Cases domain.- See Also:
-
getType
The type of a related item.- See Also:
-
getTags
A list of tags on the related item.- See Also:
-
builder
- Returns:
- a
CfnRelatedItemProps.BuilderofCfnRelatedItemProps
-