Interface ListPentestsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPentestsResponse.Builder,,ListPentestsResponse> SdkBuilder<ListPentestsResponse.Builder,,ListPentestsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
ListPentestsResponse
@Mutable
@NotThreadSafe
public static interface ListPentestsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<ListPentestsResponse.Builder,ListPentestsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to use for paginating results that are returned in the response.pentestSummaries(Collection<PentestSummary> pentestSummaries) The list of pentest summaries.pentestSummaries(Consumer<PentestSummary.Builder>... pentestSummaries) The list of pentest summaries.pentestSummaries(PentestSummary... pentestSummaries) The list of pentest summaries.Methods 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
-
pentestSummaries
The list of pentest summaries.
- Parameters:
pentestSummaries- The list of pentest summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestSummaries
The list of pentest summaries.
- Parameters:
pentestSummaries- The list of pentest summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestSummaries
The list of pentest summaries.
This is a convenience method that creates an instance of thePentestSummary.Builderavoiding the need to create one manually viaPentestSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topentestSummaries(List<PentestSummary>).- Parameters:
pentestSummaries- a consumer that will call methods onPentestSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-