Interface BatchGetPentestJobTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetPentestJobTasksResponse.Builder,,BatchGetPentestJobTasksResponse> SdkBuilder<BatchGetPentestJobTasksResponse.Builder,,BatchGetPentestJobTasksResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetPentestJobTasksResponse
@Mutable
@NotThreadSafe
public static interface BatchGetPentestJobTasksResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetPentestJobTasksResponse.Builder,BatchGetPentestJobTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionList of task IDs that could not be foundnotFound(Collection<String> notFound) List of task IDs that could not be foundtasks(Collection<Task> tasks) List of successfully retrieved taskstasks(Consumer<Task.Builder>... tasks) List of successfully retrieved tasksList of successfully retrieved tasksMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
tasks
List of successfully retrieved tasks
- Parameters:
tasks- List of successfully retrieved tasks- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
List of successfully retrieved tasks
- Parameters:
tasks- List of successfully retrieved tasks- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
List of successfully retrieved 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:
-
notFound
List of task IDs that could not be found
- Parameters:
notFound- List of task IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
List of task IDs that could not be found
- Parameters:
notFound- List of task IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-