Interface ListOpportunitiesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListOpportunitiesRequest.Builder,ListOpportunitiesRequest>,PartnerCentralSellingRequest.Builder,SdkBuilder<ListOpportunitiesRequest.Builder,ListOpportunitiesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListOpportunitiesRequest
public static interface ListOpportunitiesRequest.Builder extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<ListOpportunitiesRequest.Builder,ListOpportunitiesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListOpportunitiesRequest.Buildercatalog(String catalog)Specifies the catalog associated with the request.ListOpportunitiesRequest.BuildercustomerCompanyName(String... customerCompanyName)Filters the opportunities based on the customer's company name.ListOpportunitiesRequest.BuildercustomerCompanyName(Collection<String> customerCompanyName)Filters the opportunities based on the customer's company name.ListOpportunitiesRequest.Builderidentifier(String... identifier)Filters the opportunities based on the opportunity identifier.ListOpportunitiesRequest.Builderidentifier(Collection<String> identifier)Filters the opportunities based on the opportunity identifier.default ListOpportunitiesRequest.BuilderlastModifiedDate(Consumer<LastModifiedDate.Builder> lastModifiedDate)Filters the opportunities based on their last modified date.ListOpportunitiesRequest.BuilderlastModifiedDate(LastModifiedDate lastModifiedDate)Filters the opportunities based on their last modified date.ListOpportunitiesRequest.BuilderlifeCycleReviewStatus(Collection<ReviewStatus> lifeCycleReviewStatus)Filters the opportunities based on their current lifecycle approval status.ListOpportunitiesRequest.BuilderlifeCycleReviewStatus(ReviewStatus... lifeCycleReviewStatus)Filters the opportunities based on their current lifecycle approval status.ListOpportunitiesRequest.BuilderlifeCycleReviewStatusWithStrings(String... lifeCycleReviewStatus)Filters the opportunities based on their current lifecycle approval status.ListOpportunitiesRequest.BuilderlifeCycleReviewStatusWithStrings(Collection<String> lifeCycleReviewStatus)Filters the opportunities based on their current lifecycle approval status.ListOpportunitiesRequest.BuilderlifeCycleStage(Collection<Stage> lifeCycleStage)Filters the opportunities based on their lifecycle stage.ListOpportunitiesRequest.BuilderlifeCycleStage(Stage... lifeCycleStage)Filters the opportunities based on their lifecycle stage.ListOpportunitiesRequest.BuilderlifeCycleStageWithStrings(String... lifeCycleStage)Filters the opportunities based on their lifecycle stage.ListOpportunitiesRequest.BuilderlifeCycleStageWithStrings(Collection<String> lifeCycleStage)Filters the opportunities based on their lifecycle stage.ListOpportunitiesRequest.BuildermaxResults(Integer maxResults)Specifies the maximum number of results to return in a single call.ListOpportunitiesRequest.BuildernextToken(String nextToken)A pagination token used to retrieve the next set of results in subsequent calls.ListOpportunitiesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListOpportunitiesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListOpportunitiesRequest.Buildersort(Consumer<OpportunitySort.Builder> sort)An object that specifies how the response is sorted.ListOpportunitiesRequest.Buildersort(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 Detail
-
catalog
ListOpportunitiesRequest.Builder catalog(String catalog)
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWSorSandbox. The catalog determines which environment the opportunities are listed in. UseAWSfor listing real opportunities in the Amazon Web Services catalog, andSandboxfor testing in secure, isolated environments.- Parameters:
catalog- Specifies the catalog associated with the request. This field takes a string value from a predefined list:AWSorSandbox. The catalog determines which environment the opportunities are listed in. UseAWSfor listing real opportunities in the Amazon Web Services catalog, andSandboxfor testing in secure, isolated environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerCompanyName
ListOpportunitiesRequest.Builder customerCompanyName(Collection<String> 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
ListOpportunitiesRequest.Builder customerCompanyName(String... 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
ListOpportunitiesRequest.Builder identifier(Collection<String> 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
ListOpportunitiesRequest.Builder identifier(String... 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
ListOpportunitiesRequest.Builder lastModifiedDate(LastModifiedDate 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.Builderavoiding the need to create one manually viaLastModifiedDate.builder().When the
Consumercompletes,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:
lastModifiedDate(LastModifiedDate)
-
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
ListOpportunitiesRequest.Builder lifeCycleReviewStatusWithStrings(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.
-
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
ListOpportunitiesRequest.Builder lifeCycleReviewStatus(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.
-
lifeCycleStageWithStrings
ListOpportunitiesRequest.Builder lifeCycleStageWithStrings(Collection<String> 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.
-
lifeCycleStageWithStrings
ListOpportunitiesRequest.Builder lifeCycleStageWithStrings(String... 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
ListOpportunitiesRequest.Builder lifeCycleStage(Collection<Stage> 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
ListOpportunitiesRequest.Builder lifeCycleStage(Stage... 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
ListOpportunitiesRequest.Builder maxResults(Integer 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
ListOpportunitiesRequest.Builder nextToken(String 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
ListOpportunitiesRequest.Builder sort(OpportunitySort sort)
An object that specifies how the response is sorted. The default
Sort.SortByvalue isLastModifiedDate.- Parameters:
sort- An object that specifies how the response is sorted. The defaultSort.SortByvalue isLastModifiedDate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListOpportunitiesRequest.Builder sort(Consumer<OpportunitySort.Builder> sort)
An object that specifies how the response is sorted. The default
This is a convenience method that creates an instance of theSort.SortByvalue isLastModifiedDate.OpportunitySort.Builderavoiding the need to create one manually viaOpportunitySort.builder().When the
Consumercompletes,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:
sort(OpportunitySort)
-
overrideConfiguration
ListOpportunitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListOpportunitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-