Interface ListOpportunitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOpportunitiesResponse.Builder,
,ListOpportunitiesResponse> PartnerCentralSellingResponse.Builder
,SdkBuilder<ListOpportunitiesResponse.Builder,
,ListOpportunitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOpportunitiesResponse
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token used to retrieve the next set of results in subsequent calls.opportunitySummaries
(Collection<OpportunitySummary> opportunitySummaries) An array that contains minimal details for opportunities that match the request criteria.opportunitySummaries
(Consumer<OpportunitySummary.Builder>... opportunitySummaries) An array that contains minimal details for opportunities that match the request criteria.opportunitySummaries
(OpportunitySummary... opportunitySummaries) An array that contains minimal details for opportunities that match the request criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
opportunitySummaries
ListOpportunitiesResponse.Builder opportunitySummaries(Collection<OpportunitySummary> opportunitySummaries) An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.
- Parameters:
opportunitySummaries
- An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunitySummaries
An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.
- Parameters:
opportunitySummaries
- An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunitySummaries
ListOpportunitiesResponse.Builder opportunitySummaries(Consumer<OpportunitySummary.Builder>... opportunitySummaries) An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.
This is a convenience method that creates an instance of theOpportunitySummary.Builder
avoiding the need to create one manually viaOpportunitySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopportunitySummaries(List<OpportunitySummary>)
.- Parameters:
opportunitySummaries
- a consumer that will call methods onOpportunitySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-