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
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builderavoiding the need to create one manually viaOpportunitySummary.builder().When the
Consumercompletes,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:
-
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.
-