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 TypeMethodDescriptionToken for pagination to retrieve the next set of resultspentestJobSummaries(Collection<PentestJobSummary> pentestJobSummaries) List of pentest job summaries associated with the pentestpentestJobSummaries(Consumer<PentestJobSummary.Builder>... pentestJobSummaries) List of pentest job summaries associated with the pentestpentestJobSummaries(PentestJobSummary... pentestJobSummaries) List of pentest job summaries associated with the pentestMethods 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) List of pentest job summaries associated with the pentest
- Parameters:
pentestJobSummaries- List of pentest job summaries associated with the pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobSummaries
ListPentestJobsForPentestResponse.Builder pentestJobSummaries(PentestJobSummary... pentestJobSummaries) List of pentest job summaries associated with the pentest
- Parameters:
pentestJobSummaries- List of pentest job summaries associated with the pentest- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pentestJobSummaries
ListPentestJobsForPentestResponse.Builder pentestJobSummaries(Consumer<PentestJobSummary.Builder>... pentestJobSummaries) List of pentest job summaries associated with the pentest
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
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.
-