Interface ListPentestJobsForPentestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPentestJobsForPentestResponse.Builder,,ListPentestJobsForPentestResponse> SdkBuilder<ListPentestJobsForPentestResponse.Builder,,ListPentestJobsForPentestResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
ListPentestJobsForPentestResponse
@Mutable
@NotThreadSafe
public static interface ListPentestJobsForPentestResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<ListPentestJobsForPentestResponse.Builder,ListPentestJobsForPentestResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to use for paginating results that are returned in the response.pentestJobSummaries(Collection<PentestJobSummary> pentestJobSummaries) The list of pentest job summaries.pentestJobSummaries(Consumer<PentestJobSummary.Builder>... pentestJobSummaries) The list of pentest job summaries.pentestJobSummaries(PentestJobSummary... pentestJobSummaries) The list of pentest job 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
-
pentestJobSummaries
ListPentestJobsForPentestResponse.Builder pentestJobSummaries(Collection<PentestJobSummary> pentestJobSummaries) The list of pentest job summaries.
- Parameters:
pentestJobSummaries- The list of pentest job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobSummaries
ListPentestJobsForPentestResponse.Builder pentestJobSummaries(PentestJobSummary... pentestJobSummaries) The list of pentest job summaries.
- Parameters:
pentestJobSummaries- The list of pentest job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobSummaries
ListPentestJobsForPentestResponse.Builder pentestJobSummaries(Consumer<PentestJobSummary.Builder>... pentestJobSummaries) The list of pentest job summaries.
This is a convenience method that creates an instance of thePentestJobSummary.Builderavoiding the need to create one manually viaPentestJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topentestJobSummaries(List<PentestJobSummary>).- Parameters:
pentestJobSummaries- a consumer that will call methods onPentestJobSummary.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.
-