Interface ListCisScansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCisScansResponse.Builder,,ListCisScansResponse> Inspector2Response.Builder,SdkBuilder<ListCisScansResponse.Builder,,ListCisScansResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCisScansResponse
public static interface ListCisScansResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListCisScansResponse.Builder,ListCisScansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token from a previous request that's used to retrieve the next page of results.scans(Collection<CisScan> scans) The CIS scans.scans(Consumer<CisScan.Builder>... scans) The CIS scans.The CIS scans.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token from a previous request that's used to retrieve the next page of results.
- Parameters:
nextToken- The pagination token from a previous request that's used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scans
The CIS scans.
- Parameters:
scans- The CIS scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scans
The CIS scans.
- Parameters:
scans- The CIS scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scans
The CIS scans.
This is a convenience method that creates an instance of theCisScan.Builderavoiding the need to create one manually viaCisScan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscans(List<CisScan>).- Parameters:
scans- a consumer that will call methods onCisScan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-