Interface EventIncludedData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventIncludedData.Builder,
,EventIncludedData> SdkBuilder<EventIncludedData.Builder,
,EventIncludedData> SdkPojo
- Enclosing class:
EventIncludedData
@Mutable
@NotThreadSafe
public static interface EventIncludedData.Builder
extends SdkPojo, CopyableBuilder<EventIncludedData.Builder,EventIncludedData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventIncludedData.Builder
caseData
(Consumer<CaseEventIncludedData.Builder> caseData) Details of what case data is published through the case event stream.caseData
(CaseEventIncludedData caseData) Details of what case data is published through the case event stream.default EventIncludedData.Builder
relatedItemData
(Consumer<RelatedItemEventIncludedData.Builder> relatedItemData) Details of what related item data is published through the case event stream.relatedItemData
(RelatedItemEventIncludedData relatedItemData) Details of what related item data is published through the case event stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
caseData
Details of what case data is published through the case event stream.
- Parameters:
caseData
- Details of what case data is published through the case event stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseData
Details of what case data is published through the case event stream.
This is a convenience method that creates an instance of theCaseEventIncludedData.Builder
avoiding the need to create one manually viaCaseEventIncludedData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocaseData(CaseEventIncludedData)
.- Parameters:
caseData
- a consumer that will call methods onCaseEventIncludedData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-