Interface AssociateOpportunityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateOpportunityRequest.Builder,
,AssociateOpportunityRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<AssociateOpportunityRequest.Builder,
,AssociateOpportunityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateOpportunityRequest
@Mutable
@NotThreadSafe
public static interface AssociateOpportunityRequest.Builder
extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<AssociateOpportunityRequest.Builder,AssociateOpportunityRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog associated with the request.opportunityIdentifier
(String opportunityIdentifier) Requires theOpportunity
's unique identifier when you want to associate it with a related entity.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relatedEntityIdentifier
(String relatedEntityIdentifier) Requires the related entity's unique identifier when you want to associate it with theOpportunity
.relatedEntityType
(String relatedEntityType) Specifies the entity type that you're associating with theOpportunity
.relatedEntityType
(RelatedEntityType relatedEntityType) Specifies the entity type that you're associating with theOpportunity
.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
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWS
orSandbox
. The catalog determines which environment the opportunity association is made in. UseAWS
to associate opportunities in the Amazon Web Services catalog, andSandbox
for testing in secure, isolated environments.- Parameters:
catalog
- Specifies the catalog associated with the request. This field takes a string value from a predefined list:AWS
orSandbox
. The catalog determines which environment the opportunity association is made in. UseAWS
to associate opportunities in the Amazon Web Services catalog, andSandbox
for testing in secure, isolated environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunityIdentifier
Requires the
Opportunity
's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.- Parameters:
opportunityIdentifier
- Requires theOpportunity
's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateOpportunityRequest.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
AssociateOpportunityRequest.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.
-