Interface ListOpportunitiesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListOpportunitiesRequest.Builder,
,ListOpportunitiesRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<ListOpportunitiesRequest.Builder,
,ListOpportunitiesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListOpportunitiesRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog associated with the request.customerCompanyName
(String... customerCompanyName) Filters the opportunities based on the customer's company name.customerCompanyName
(Collection<String> customerCompanyName) Filters the opportunities based on the customer's company name.identifier
(String... identifier) Filters the opportunities based on the opportunity identifier.identifier
(Collection<String> identifier) Filters the opportunities based on the opportunity identifier.default ListOpportunitiesRequest.Builder
lastModifiedDate
(Consumer<LastModifiedDate.Builder> lastModifiedDate) Filters the opportunities based on their last modified date.lastModifiedDate
(LastModifiedDate lastModifiedDate) Filters the opportunities based on their last modified date.lifeCycleReviewStatus
(Collection<ReviewStatus> lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status.lifeCycleReviewStatus
(ReviewStatus... lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status.lifeCycleReviewStatusWithStrings
(String... lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status.lifeCycleReviewStatusWithStrings
(Collection<String> lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status.lifeCycleStage
(Collection<Stage> lifeCycleStage) Filters the opportunities based on their lifecycle stage.lifeCycleStage
(Stage... lifeCycleStage) Filters the opportunities based on their lifecycle stage.lifeCycleStageWithStrings
(String... lifeCycleStage) Filters the opportunities based on their lifecycle stage.lifeCycleStageWithStrings
(Collection<String> lifeCycleStage) Filters the opportunities based on their lifecycle stage.maxResults
(Integer maxResults) Specifies the maximum number of results to return in a single call.A pagination token used to retrieve the next set of results in subsequent calls.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListOpportunitiesRequest.Builder
sort
(Consumer<OpportunitySort.Builder> sort) An object that specifies how the response is sorted.sort
(OpportunitySort sort) An object that specifies how the response is sorted.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 opportunities are listed in. UseAWS
for listing real 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 opportunities are listed in. UseAWS
for listing real 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.
-
customerCompanyName
Filters the opportunities based on the customer's company name. This allows partners to search for opportunities associated with a specific customer by matching the provided company name string.
- Parameters:
customerCompanyName
- Filters the opportunities based on the customer's company name. This allows partners to search for opportunities associated with a specific customer by matching the provided company name string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerCompanyName
Filters the opportunities based on the customer's company name. This allows partners to search for opportunities associated with a specific customer by matching the provided company name string.
- Parameters:
customerCompanyName
- Filters the opportunities based on the customer's company name. This allows partners to search for opportunities associated with a specific customer by matching the provided company name string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Filters the opportunities based on the opportunity identifier. This allows partners to retrieve specific opportunities by providing their unique identifiers, ensuring precise results.
- Parameters:
identifier
- Filters the opportunities based on the opportunity identifier. This allows partners to retrieve specific opportunities by providing their unique identifiers, ensuring precise results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Filters the opportunities based on the opportunity identifier. This allows partners to retrieve specific opportunities by providing their unique identifiers, ensuring precise results.
- Parameters:
identifier
- Filters the opportunities based on the opportunity identifier. This allows partners to retrieve specific opportunities by providing their unique identifiers, ensuring precise results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
Filters the opportunities based on their last modified date. This filter helps retrieve opportunities that were updated after the specified date, allowing partners to track recent changes or updates.
- Parameters:
lastModifiedDate
- Filters the opportunities based on their last modified date. This filter helps retrieve opportunities that were updated after the specified date, allowing partners to track recent changes or updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
default ListOpportunitiesRequest.Builder lastModifiedDate(Consumer<LastModifiedDate.Builder> lastModifiedDate) Filters the opportunities based on their last modified date. This filter helps retrieve opportunities that were updated after the specified date, allowing partners to track recent changes or updates.
This is a convenience method that creates an instance of theLastModifiedDate.Builder
avoiding the need to create one manually viaLastModifiedDate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedDate(LastModifiedDate)
.- Parameters:
lastModifiedDate
- a consumer that will call methods onLastModifiedDate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifeCycleReviewStatusWithStrings
ListOpportunitiesRequest.Builder lifeCycleReviewStatusWithStrings(Collection<String> lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such as
Pending Submission
,In Review
,Action Required
, orApproved
.- Parameters:
lifeCycleReviewStatus
- Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such asPending Submission
,In Review
,Action Required
, orApproved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleReviewStatusWithStrings
Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such as
Pending Submission
,In Review
,Action Required
, orApproved
.- Parameters:
lifeCycleReviewStatus
- Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such asPending Submission
,In Review
,Action Required
, orApproved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleReviewStatus
ListOpportunitiesRequest.Builder lifeCycleReviewStatus(Collection<ReviewStatus> lifeCycleReviewStatus) Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such as
Pending Submission
,In Review
,Action Required
, orApproved
.- Parameters:
lifeCycleReviewStatus
- Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such asPending Submission
,In Review
,Action Required
, orApproved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleReviewStatus
Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such as
Pending Submission
,In Review
,Action Required
, orApproved
.- Parameters:
lifeCycleReviewStatus
- Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such asPending Submission
,In Review
,Action Required
, orApproved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleStageWithStrings
Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such as
Qualified
,Technical Validation
,Business Validation
, orClosed Won
.- Parameters:
lifeCycleStage
- Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such asQualified
,Technical Validation
,Business Validation
, orClosed Won
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleStageWithStrings
Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such as
Qualified
,Technical Validation
,Business Validation
, orClosed Won
.- Parameters:
lifeCycleStage
- Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such asQualified
,Technical Validation
,Business Validation
, orClosed Won
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleStage
Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such as
Qualified
,Technical Validation
,Business Validation
, orClosed Won
.- Parameters:
lifeCycleStage
- Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such asQualified
,Technical Validation
,Business Validation
, orClosed Won
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleStage
Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such as
Qualified
,Technical Validation
,Business Validation
, orClosed Won
.- Parameters:
lifeCycleStage
- Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such asQualified
,Technical Validation
,Business Validation
, orClosed Won
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Specifies the maximum number of results to return in a single call. This limits the number of opportunities returned in the response to avoid providing too many results at once.
Default: 20
- Parameters:
maxResults
- Specifies the maximum number of results to return in a single call. This limits the number of opportunities returned in the response to avoid providing too many results at once.Default: 20
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.
- Parameters:
nextToken
- A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
An object that specifies how the response is sorted. The default
Sort.SortBy
value isLastModifiedDate
.- Parameters:
sort
- An object that specifies how the response is sorted. The defaultSort.SortBy
value isLastModifiedDate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
An object that specifies how the response is sorted. The default
This is a convenience method that creates an instance of theSort.SortBy
value isLastModifiedDate
.OpportunitySort.Builder
avoiding the need to create one manually viaOpportunitySort.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosort(OpportunitySort)
.- Parameters:
sort
- a consumer that will call methods onOpportunitySort.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListOpportunitiesRequest.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
ListOpportunitiesRequest.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.
-