Interface ListTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTasksResponse.Builder,ListTasksResponse>,DeadlineResponse.Builder,SdkBuilder<ListTasksResponse.Builder,ListTasksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTasksResponse
public static interface ListTasksResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<ListTasksResponse.Builder,ListTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTasksResponse.BuildernextToken(String nextToken)If Deadline Cloud returnsnextToken, then there are more results available.ListTasksResponse.Buildertasks(Collection<TaskSummary> tasks)Tasks for the job.ListTasksResponse.Buildertasks(Consumer<TaskSummary.Builder>... tasks)Tasks for the job.ListTasksResponse.Buildertasks(TaskSummary... tasks)Tasks for the job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListTasksResponse.Builder nextToken(String nextToken)
If Deadline Cloud returns
nextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Parameters:
nextToken- If Deadline Cloud returnsnextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListTasksResponse.Builder tasks(Collection<TaskSummary> tasks)
Tasks for the job.
- Parameters:
tasks- Tasks for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListTasksResponse.Builder tasks(TaskSummary... tasks)
Tasks for the job.
- Parameters:
tasks- Tasks for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListTasksResponse.Builder tasks(Consumer<TaskSummary.Builder>... tasks)
Tasks for the job.
This is a convenience method that creates an instance of theTaskSummary.Builderavoiding the need to create one manually viaTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - Parameters:
tasks- a consumer that will call methods onTaskSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tasks(java.util.Collection)
-
-