Interface ListOnDemandScansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOnDemandScansResponse.Builder,,ListOnDemandScansResponse> Inspector2Response.Builder,SdkBuilder<ListOnDemandScansResponse.Builder,,ListOnDemandScansResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOnDemandScansResponse
@Mutable
@NotThreadSafe
public static interface ListOnDemandScansResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListOnDemandScansResponse.Builder,ListOnDemandScansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<OnDemandScan> items) The list of on-demand scans that match the request.items(Consumer<OnDemandScan.Builder>... items) The list of on-demand scans that match the request.items(OnDemandScan... items) The list of on-demand scans that match the request.A pagination token to use in a subsequent request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
items
The list of on-demand scans that match the request.
- Parameters:
items- The list of on-demand scans that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of on-demand scans that match the request.
- Parameters:
items- The list of on-demand scans that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of on-demand scans that match the request.
This is a convenience method that creates an instance of theOnDemandScan.Builderavoiding the need to create one manually viaOnDemandScan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<OnDemandScan>).- Parameters:
items- a consumer that will call methods onOnDemandScan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to use in a subsequent request to retrieve the next page of results. This field is absent when there are no more results.
- Parameters:
nextToken- A pagination token to use in a subsequent request to retrieve the next page of results. This field is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-