Interface ListPentestJobTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPentestJobTasksResponse.Builder,,ListPentestJobTasksResponse> SdkBuilder<ListPentestJobTasksResponse.Builder,,ListPentestJobTasksResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
ListPentestJobTasksResponse
@Mutable
@NotThreadSafe
public static interface ListPentestJobTasksResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<ListPentestJobTasksResponse.Builder,ListPentestJobTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for pagination to retrieve the next set of resultstaskSummaries(Collection<TaskSummary> taskSummaries) List of task summaries associated with the specified pentest jobtaskSummaries(Consumer<TaskSummary.Builder>... taskSummaries) List of task summaries associated with the specified pentest jobtaskSummaries(TaskSummary... taskSummaries) List of task summaries associated with the specified pentest jobMethods 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
-
taskSummaries
List of task summaries associated with the specified pentest job
- Parameters:
taskSummaries- List of task summaries associated with the specified pentest job- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
List of task summaries associated with the specified pentest job
- Parameters:
taskSummaries- List of task summaries associated with the specified pentest job- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSummaries
List of task summaries associated with the specified pentest 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 totaskSummaries(List<TaskSummary>).- Parameters:
taskSummaries- 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:
-
nextToken
Token for pagination to retrieve the next set of results
- Parameters:
nextToken- Token for pagination to retrieve the next set of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-