Interface EngagementContextDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EngagementContextDetails.Builder,,EngagementContextDetails> SdkBuilder<EngagementContextDetails.Builder,,EngagementContextDetails> SdkPojo
- Enclosing class:
EngagementContextDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault EngagementContextDetails.Builderpayload(Consumer<EngagementContextPayload.Builder> payload) Contains the specific details of the Engagement context.payload(EngagementContextPayload payload) Contains the specific details of the Engagement context.Specifies the type of Engagement context.type(EngagementContextType type) Specifies the type of Engagement context.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.
- Parameters:
type- Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.
- Parameters:
type- Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.
- Parameters:
payload- Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default EngagementContextDetails.Builder payload(Consumer<EngagementContextPayload.Builder> payload) Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.
This is a convenience method that creates an instance of theEngagementContextPayload.Builderavoiding the need to create one manually viaEngagementContextPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(EngagementContextPayload).- Parameters:
payload- a consumer that will call methods onEngagementContextPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-