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