Interface ListScansRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeGuruSecurityRequest.Builder
,CopyableBuilder<ListScansRequest.Builder,
,ListScansRequest> SdkBuilder<ListScansRequest.Builder,
,ListScansRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListScansRequest
public static interface ListScansRequest.Builder
extends CodeGuruSecurityRequest.Builder, SdkPojo, CopyableBuilder<ListScansRequest.Builder,ListScansRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to return in the response.A token to use for paginating results that are returned in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the
nextToken
element is returned in the response. UsenextToken
in a subsequent request to retrieve additional results.- Parameters:
maxResults
- The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, thenextToken
element is returned in the response. UsenextToken
in a subsequent request to retrieve additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the
nextToken
value returned from the previous request to continue listing results after the first page.- Parameters:
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use thenextToken
value returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListScansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListScansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-