Interface ListEngagementFromOpportunityTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEngagementFromOpportunityTasksResponse.Builder,ListEngagementFromOpportunityTasksResponse>,PartnerCentralSellingResponse.Builder,SdkBuilder<ListEngagementFromOpportunityTasksResponse.Builder,ListEngagementFromOpportunityTasksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEngagementFromOpportunityTasksResponse
public static interface ListEngagementFromOpportunityTasksResponse.Builder extends PartnerCentralSellingResponse.Builder, SdkPojo, CopyableBuilder<ListEngagementFromOpportunityTasksResponse.Builder,ListEngagementFromOpportunityTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEngagementFromOpportunityTasksResponse.BuildernextToken(String nextToken)A token used for pagination to retrieve the next page of results.ListEngagementFromOpportunityTasksResponse.BuildertaskSummaries(Collection<ListEngagementFromOpportunityTaskSummary> taskSummaries)TaskSummaries An array of TaskSummary objects containing details about each task.ListEngagementFromOpportunityTasksResponse.BuildertaskSummaries(Consumer<ListEngagementFromOpportunityTaskSummary.Builder>... taskSummaries)TaskSummaries An array of TaskSummary objects containing details about each task.ListEngagementFromOpportunityTasksResponse.BuildertaskSummaries(ListEngagementFromOpportunityTaskSummary... taskSummaries)TaskSummaries An array of TaskSummary objects containing details about each task.-
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 Detail
-
nextToken
ListEngagementFromOpportunityTasksResponse.Builder nextToken(String 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.
-
taskSummaries
ListEngagementFromOpportunityTasksResponse.Builder taskSummaries(Collection<ListEngagementFromOpportunityTaskSummary> taskSummaries)
TaskSummaries An array of TaskSummary objects containing details about each task.
- Parameters:
taskSummaries- TaskSummaries An array of TaskSummary objects containing details about each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
ListEngagementFromOpportunityTasksResponse.Builder taskSummaries(ListEngagementFromOpportunityTaskSummary... taskSummaries)
TaskSummaries An array of TaskSummary objects containing details about each task.
- Parameters:
taskSummaries- TaskSummaries An array of TaskSummary objects containing details about each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
ListEngagementFromOpportunityTasksResponse.Builder taskSummaries(Consumer<ListEngagementFromOpportunityTaskSummary.Builder>... taskSummaries)
TaskSummaries An array of TaskSummary objects containing details about each task.
This is a convenience method that creates an instance of theListEngagementFromOpportunityTaskSummary.Builderavoiding the need to create one manually viaListEngagementFromOpportunityTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taskSummaries(List.) - Parameters:
taskSummaries- a consumer that will call methods onListEngagementFromOpportunityTaskSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#taskSummaries(java.util.Collection)
-
-