Interface BatchGetTaskResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetTaskResponse.Builder,,BatchGetTaskResponse> SdkBuilder<BatchGetTaskResponse.Builder,,BatchGetTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetTaskError> errors) The entries for requested tasks that the operation could not return.errors(Consumer<BatchGetTaskError.Builder>... errors) The entries for requested tasks that the operation could not return.errors(BatchGetTaskError... errors) The entries for requested tasks that the operation could not return.tasks(Collection<Task> tasks) The list of tasks.tasks(Consumer<Task.Builder>... tasks) The list of tasks.The list of tasks.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
tasks
The list of tasks.
- Parameters:
tasks- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks.
- Parameters:
tasks- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks.
This is a convenience method that creates an instance of theTask.Builderavoiding the need to create one manually viaTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totasks(List<Task>).- Parameters:
tasks- a consumer that will call methods onTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The entries for requested tasks that the operation could not return. Empty when the operation returned all of them; a request in which every task failed still succeeds.
- Parameters:
errors- The entries for requested tasks that the operation could not return. Empty when the operation returned all of them; a request in which every task failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested tasks that the operation could not return. Empty when the operation returned all of them; a request in which every task failed still succeeds.
- Parameters:
errors- The entries for requested tasks that the operation could not return. Empty when the operation returned all of them; a request in which every task failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested tasks that the operation could not return. Empty when the operation returned all of them; a request in which every task failed still succeeds.
This is a convenience method that creates an instance of theBatchGetTaskError.Builderavoiding the need to create one manually viaBatchGetTaskError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetTaskError>).- Parameters:
errors- a consumer that will call methods onBatchGetTaskError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-