Interface CreateEngagementContextRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEngagementContextRequest.Builder,,CreateEngagementContextRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<CreateEngagementContextRequest.Builder,,CreateEngagementContextRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEngagementContextRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog associated with the engagement context request.clientToken(String clientToken) A unique, case-sensitive identifier provided by the client to ensure that the request is handled exactly once.engagementIdentifier(String engagementIdentifier) The unique identifier of theEngagementfor which the context is being created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.payload(Consumer<EngagementContextPayload.Builder> payload) Sets the value of the Payload property for this object.payload(EngagementContextPayload payload) Sets the value of the Payload property for this object.Specifies the type of context being created for the engagement.type(EngagementContextType type) Specifies the type of context being created for 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 request. This field takes a string value from a predefined list:
AWSorSandbox. The catalog determines which environment the engagement context is created in. UseAWSto create contexts in the production environment, andSandboxfor testing in secure, isolated environments.- Parameters:
catalog- Specifies the catalog associated with the engagement context request. This field takes a string value from a predefined list:AWSorSandbox. The catalog determines which environment the engagement context is created in. UseAWSto create contexts in the production environment, andSandboxfor testing in secure, isolated environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
The unique identifier of the
Engagementfor which the context is being created. This parameter ensures the context is associated with the correct engagement and provides the necessary linkage between the engagement and its contextual information.- Parameters:
engagementIdentifier- The unique identifier of theEngagementfor which the context is being created. This parameter ensures the context is associated with the correct engagement and provides the necessary linkage between the engagement and its contextual information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier provided by the client to ensure that the request is handled exactly once. This token helps prevent duplicate context creations and must not exceed sixty-four alphanumeric characters. Use a UUID or other unique string to ensure idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier provided by the client to ensure that the request is handled exactly once. This token helps prevent duplicate context creations and must not exceed sixty-four alphanumeric characters. Use a UUID or other unique string to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values include
CustomerProjectfor customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.- Parameters:
type- Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values includeCustomerProjectfor customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values include
CustomerProjectfor customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.- Parameters:
type- Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values includeCustomerProjectfor customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
Sets the value of the Payload property for this object.- Parameters:
payload- The new value for the Payload property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default CreateEngagementContextRequest.Builder payload(Consumer<EngagementContextPayload.Builder> payload) Sets the value of the Payload property for this object. 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:
-
overrideConfiguration
CreateEngagementContextRequest.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
CreateEngagementContextRequest.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.
-