Interface ListOpportunityFromEngagementTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOpportunityFromEngagementTasksResponse.Builder,,ListOpportunityFromEngagementTasksResponse> PartnerCentralSellingResponse.Builder,SdkBuilder<ListOpportunityFromEngagementTasksResponse.Builder,,ListOpportunityFromEngagementTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOpportunityFromEngagementTasksResponse
-
Method Summary
Modifier and TypeMethodDescriptionA token used for pagination to retrieve the next page of results.taskSummaries(Collection<ListOpportunityFromEngagementTaskSummary> taskSummaries) An array ofListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters.taskSummaries(Consumer<ListOpportunityFromEngagementTaskSummary.Builder>... taskSummaries) An array ofListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters.taskSummaries(ListOpportunityFromEngagementTaskSummary... taskSummaries) An array ofListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters.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
-
taskSummaries
ListOpportunityFromEngagementTasksResponse.Builder taskSummaries(Collection<ListOpportunityFromEngagementTaskSummary> taskSummaries) An array of
ListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.- Parameters:
taskSummaries- An array ofListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
ListOpportunityFromEngagementTasksResponse.Builder taskSummaries(ListOpportunityFromEngagementTaskSummary... taskSummaries) An array of
ListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.- Parameters:
taskSummaries- An array ofListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
ListOpportunityFromEngagementTasksResponse.Builder taskSummaries(Consumer<ListOpportunityFromEngagementTaskSummary.Builder>... taskSummaries) An array of
This is a convenience method that creates an instance of theListOpportunityFromEngagementTaskSummaryobjects, each representing a task that matches the specified filters. The array may be empty if no tasks match the criteria.ListOpportunityFromEngagementTaskSummary.Builderavoiding the need to create one manually viaListOpportunityFromEngagementTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskSummaries(List<ListOpportunityFromEngagementTaskSummary>).- Parameters:
taskSummaries- a consumer that will call methods onListOpportunityFromEngagementTaskSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used for pagination to retrieve the next page of results. If there are more results available, this field will contain a token that can be used in a subsequent API call to retrieve the next page. If there are no more results, this field will be null or an empty string.
- Parameters:
nextToken- A token used for pagination to retrieve the next page of results. If there are more results available, this field will contain a token that can be used in a subsequent API call to retrieve the next page. If there are no more results, this field will be null or an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-