Interface CreateEngagementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEngagementRequest.Builder,,CreateEngagementRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<CreateEngagementRequest.Builder,,CreateEngagementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEngagementRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheCreateEngagementRequest$Catalogparameter specifies the catalog related to the engagement.clientToken(String clientToken) TheCreateEngagementRequest$ClientTokenparameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once.contexts(Collection<EngagementContextDetails> contexts) TheContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement.contexts(Consumer<EngagementContextDetails.Builder>... contexts) TheContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement.contexts(EngagementContextDetails... contexts) TheContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement.description(String description) Provides a description of theEngagement.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the title of theEngagement.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
The
CreateEngagementRequest$Catalogparameter specifies the catalog related to the engagement. Accepted values areAWSandSandbox, which determine the environment in which the engagement is managed.- Parameters:
catalog- TheCreateEngagementRequest$Catalogparameter specifies the catalog related to the engagement. Accepted values areAWSandSandbox, which determine the environment in which the engagement is managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The
CreateEngagementRequest$ClientTokenparameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once. The value must not exceed sixty-four alphanumeric characters.- Parameters:
clientToken- TheCreateEngagementRequest$ClientTokenparameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once. The value must not exceed sixty-four alphanumeric characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Specifies the title of the
Engagement.- Parameters:
title- Specifies the title of theEngagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Provides a description of the
Engagement.- Parameters:
description- Provides a description of theEngagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
The
Contextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains aTypefield indicating the context type, which must beCustomerProjectin this version, and aPayloadfield containing theCustomerProjectdetails. TheCustomerProjectobject is composed of two main components:CustomerandProject. TheCustomerobject includes information such asCompanyName,WebsiteUrl,Industry, andCountryCode, providing essential details about the customer. TheProjectobject containsTitle,BusinessProblem, andTargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.- Parameters:
contexts- TheContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains aTypefield indicating the context type, which must beCustomerProjectin this version, and aPayloadfield containing theCustomerProjectdetails. TheCustomerProjectobject is composed of two main components:CustomerandProject. TheCustomerobject includes information such asCompanyName,WebsiteUrl,Industry, andCountryCode, providing essential details about the customer. TheProjectobject containsTitle,BusinessProblem, andTargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
The
Contextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains aTypefield indicating the context type, which must beCustomerProjectin this version, and aPayloadfield containing theCustomerProjectdetails. TheCustomerProjectobject is composed of two main components:CustomerandProject. TheCustomerobject includes information such asCompanyName,WebsiteUrl,Industry, andCountryCode, providing essential details about the customer. TheProjectobject containsTitle,BusinessProblem, andTargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.- Parameters:
contexts- TheContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains aTypefield indicating the context type, which must beCustomerProjectin this version, and aPayloadfield containing theCustomerProjectdetails. TheCustomerProjectobject is composed of two main components:CustomerandProject. TheCustomerobject includes information such asCompanyName,WebsiteUrl,Industry, andCountryCode, providing essential details about the customer. TheProjectobject containsTitle,BusinessProblem, andTargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
The
This is a convenience method that creates an instance of theContextsfield is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains aTypefield indicating the context type, which must beCustomerProjectin this version, and aPayloadfield containing theCustomerProjectdetails. TheCustomerProjectobject is composed of two main components:CustomerandProject. TheCustomerobject includes information such asCompanyName,WebsiteUrl,Industry, andCountryCode, providing essential details about the customer. TheProjectobject containsTitle,BusinessProblem, andTargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.EngagementContextDetails.Builderavoiding the need to create one manually viaEngagementContextDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontexts(List<EngagementContextDetails>).- Parameters:
contexts- a consumer that will call methods onEngagementContextDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateEngagementRequest.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
CreateEngagementRequest.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.
-