Interface UpdateEngagementContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEngagementContextRequest.Builder,,UpdateEngagementContextRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<UpdateEngagementContextRequest.Builder,,UpdateEngagementContextRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEngagementContextRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog associated with the engagement context update request.contextIdentifier(String contextIdentifier) The unique identifier of the specific engagement context to be updated.engagementIdentifier(String engagementIdentifier) The unique identifier of theEngagementcontaining the context to be updated.engagementLastModifiedAt(Instant engagementLastModifiedAt) The timestamp when the engagement was last modified, used for optimistic concurrency control.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Contains the updated contextual information for the engagement.payload(UpdateEngagementContextPayload payload) Contains the updated contextual information for the engagement.Specifies the type of context being updated within the engagement.type(EngagementContextType type) Specifies the type of context being updated within the engagement.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog associated with the engagement context update request. This field takes a string value from a predefined list:
AWSorSandbox. The catalog determines which environment the engagement context is updated in.- Parameters:
catalog- Specifies the catalog associated with the engagement context update request. This field takes a string value from a predefined list:AWSorSandbox. The catalog determines which environment the engagement context is updated in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
The unique identifier of the
Engagementcontaining the context to be updated. This parameter ensures the context update is applied to the correct engagement.- Parameters:
engagementIdentifier- The unique identifier of theEngagementcontaining the context to be updated. This parameter ensures the context update is applied to the correct engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextIdentifier
The unique identifier of the specific engagement context to be updated. This ensures that the correct context within the engagement is modified.
- Parameters:
contextIdentifier- The unique identifier of the specific engagement context to be updated. This ensures that the correct context within the engagement is modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementLastModifiedAt
The timestamp when the engagement was last modified, used for optimistic concurrency control. This helps prevent conflicts when multiple users attempt to update the same engagement simultaneously.
- Parameters:
engagementLastModifiedAt- The timestamp when the engagement was last modified, used for optimistic concurrency control. This helps prevent conflicts when multiple users attempt to update the same engagement simultaneously.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.
- Parameters:
type- Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.
- Parameters:
type- Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
Contains the updated contextual information for the engagement. The structure of this payload varies based on the context type specified in the Type field.
- Parameters:
payload- Contains the updated contextual information for the engagement. The structure of this payload varies based on the context type specified in the Type field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default UpdateEngagementContextRequest.Builder payload(Consumer<UpdateEngagementContextPayload.Builder> payload) Contains the updated contextual information for the engagement. The structure of this payload varies based on the context type specified in the Type field.
This is a convenience method that creates an instance of theUpdateEngagementContextPayload.Builderavoiding the need to create one manually viaUpdateEngagementContextPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(UpdateEngagementContextPayload).- Parameters:
payload- a consumer that will call methods onUpdateEngagementContextPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEngagementContextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEngagementContextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-