Interface BatchGetPentestJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetPentestJobsResponse.Builder,,BatchGetPentestJobsResponse> SdkBuilder<BatchGetPentestJobsResponse.Builder,,BatchGetPentestJobsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetPentestJobsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetPentestJobsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetPentestJobsResponse.Builder,BatchGetPentestJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionList of pentest job IDs that could not be foundnotFound(Collection<String> notFound) List of pentest job IDs that could not be foundpentestJobs(Collection<PentestJob> pentestJobs) List of successfully retrieved pentest jobspentestJobs(Consumer<PentestJob.Builder>... pentestJobs) List of successfully retrieved pentest jobspentestJobs(PentestJob... pentestJobs) List of successfully retrieved pentest jobsMethods 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
-
pentestJobs
List of successfully retrieved pentest jobs
- Parameters:
pentestJobs- List of successfully retrieved pentest jobs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobs
List of successfully retrieved pentest jobs
- Parameters:
pentestJobs- List of successfully retrieved pentest jobs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobs
List of successfully retrieved pentest jobs
This is a convenience method that creates an instance of thePentestJob.Builderavoiding the need to create one manually viaPentestJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topentestJobs(List<PentestJob>).- Parameters:
pentestJobs- a consumer that will call methods onPentestJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFound
List of pentest job IDs that could not be found
- Parameters:
notFound- List of pentest job IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
List of pentest job IDs that could not be found
- Parameters:
notFound- List of pentest job IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-