Interface EngagementContextDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EngagementContextDetails.Builder,EngagementContextDetails>,SdkBuilder<EngagementContextDetails.Builder,EngagementContextDetails>,SdkPojo
- Enclosing class:
- EngagementContextDetails
public static interface EngagementContextDetails.Builder extends SdkPojo, CopyableBuilder<EngagementContextDetails.Builder,EngagementContextDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EngagementContextDetails.Builderpayload(Consumer<EngagementContextPayload.Builder> payload)Contains the specific details of the Engagement context.EngagementContextDetails.Builderpayload(EngagementContextPayload payload)Contains the specific details of the Engagement context.EngagementContextDetails.Buildertype(String type)Specifies the type of Engagement context.EngagementContextDetails.Buildertype(EngagementContextType type)Specifies the type of Engagement context.-
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 Detail
-
payload
EngagementContextDetails.Builder payload(EngagementContextPayload 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:
payload(EngagementContextPayload)
-
type
EngagementContextDetails.Builder type(String 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:
EngagementContextType,EngagementContextType
-
type
EngagementContextDetails.Builder type(EngagementContextType 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:
EngagementContextType,EngagementContextType
-
-