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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCisScansResponse.BuildernextToken(String nextToken)The pagination token from a previous request that's used to retrieve the next page of results.ListCisScansResponse.Builderscans(Collection<CisScan> scans)The CIS scans.ListCisScansResponse.Builderscans(Consumer<CisScan.Builder>... scans)The CIS scans.ListCisScansResponse.Builderscans(CisScan... scans)The CIS scans.-
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 Detail
-
nextToken
ListCisScansResponse.Builder nextToken(String 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
ListCisScansResponse.Builder scans(Collection<CisScan> 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
ListCisScansResponse.Builder scans(CisScan... 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
ListCisScansResponse.Builder scans(Consumer<CisScan.Builder>... 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 to#scans(List.) - 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:
#scans(java.util.Collection)
-
-