Interface SearchVulnerabilitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchVulnerabilitiesResponse.Builder,
,SearchVulnerabilitiesResponse> Inspector2Response.Builder
,SdkBuilder<SearchVulnerabilitiesResponse.Builder,
,SearchVulnerabilitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchVulnerabilitiesResponse
public static interface SearchVulnerabilitiesResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<SearchVulnerabilitiesResponse.Builder,SearchVulnerabilitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination parameter to be used on the next list operation to retrieve more items.vulnerabilities
(Collection<Vulnerability> vulnerabilities) Details about the listed vulnerability.vulnerabilities
(Consumer<Vulnerability.Builder>... vulnerabilities) Details about the listed vulnerability.vulnerabilities
(Vulnerability... vulnerabilities) Details about the listed vulnerability.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vulnerabilities
Details about the listed vulnerability.
- Parameters:
vulnerabilities
- Details about the listed vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vulnerabilities
Details about the listed vulnerability.
- Parameters:
vulnerabilities
- Details about the listed vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vulnerabilities
SearchVulnerabilitiesResponse.Builder vulnerabilities(Consumer<Vulnerability.Builder>... vulnerabilities) Details about the listed vulnerability.
This is a convenience method that creates an instance of theVulnerability.Builder
avoiding the need to create one manually viaVulnerability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovulnerabilities(List<Vulnerability>)
.- Parameters:
vulnerabilities
- a consumer that will call methods onVulnerability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-