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$Catalog
parameter specifies the catalog related to the engagement.clientToken
(String clientToken) TheCreateEngagementRequest$ClientToken
parameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once.contexts
(Collection<EngagementContextDetails> contexts) TheContexts
field 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) TheContexts
field 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) TheContexts
field 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
build
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 Details
-
catalog
The
CreateEngagementRequest$Catalog
parameter specifies the catalog related to the engagement. Accepted values areAWS
andSandbox
, which determine the environment in which the engagement is managed.- Parameters:
catalog
- TheCreateEngagementRequest$Catalog
parameter specifies the catalog related to the engagement. Accepted values areAWS
andSandbox
, 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$ClientToken
parameter 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$ClientToken
parameter 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.
-
contexts
The
Contexts
field 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 aType
field indicating the context type, which must beCustomerProject
in this version, and aPayload
field containing theCustomerProject
details. TheCustomerProject
object is composed of two main components:Customer
andProject
. TheCustomer
object includes information such asCompanyName
,WebsiteUrl
,Industry
, andCountryCode
, providing essential details about the customer. TheProject
object 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
- TheContexts
field 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 aType
field indicating the context type, which must beCustomerProject
in this version, and aPayload
field containing theCustomerProject
details. TheCustomerProject
object is composed of two main components:Customer
andProject
. TheCustomer
object includes information such asCompanyName
,WebsiteUrl
,Industry
, andCountryCode
, providing essential details about the customer. TheProject
object 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
Contexts
field 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 aType
field indicating the context type, which must beCustomerProject
in this version, and aPayload
field containing theCustomerProject
details. TheCustomerProject
object is composed of two main components:Customer
andProject
. TheCustomer
object includes information such asCompanyName
,WebsiteUrl
,Industry
, andCountryCode
, providing essential details about the customer. TheProject
object 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
- TheContexts
field 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 aType
field indicating the context type, which must beCustomerProject
in this version, and aPayload
field containing theCustomerProject
details. TheCustomerProject
object is composed of two main components:Customer
andProject
. TheCustomer
object includes information such asCompanyName
,WebsiteUrl
,Industry
, andCountryCode
, providing essential details about the customer. TheProject
object 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 theContexts
field 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 aType
field indicating the context type, which must beCustomerProject
in this version, and aPayload
field containing theCustomerProject
details. TheCustomerProject
object is composed of two main components:Customer
andProject
. TheCustomer
object includes information such asCompanyName
,WebsiteUrl
,Industry
, andCountryCode
, providing essential details about the customer. TheProject
object 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.Builder
avoiding the need to create one manually viaEngagementContextDetails.builder()
.When the
Consumer
completes,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:
-
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.
-
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.
-
overrideConfiguration
CreateEngagementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-