Interface ListMalwareScansRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListMalwareScansRequest.Builder,,ListMalwareScansRequest> GuardDutyRequest.Builder,SdkBuilder<ListMalwareScansRequest.Builder,,ListMalwareScansRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListMalwareScansRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListMalwareScansRequest.BuilderfilterCriteria(Consumer<ListMalwareScansFilterCriteria.Builder> filterCriteria) Represents the criteria used to filter the malware scan entries.filterCriteria(ListMalwareScansFilterCriteria filterCriteria) Represents the criteria used to filter the malware scan entries.maxResults(Integer maxResults) You can use this parameter to indicate the maximum number of items that you want in the response.You can use this parameter when paginating results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListMalwareScansRequest.BuildersortCriteria(Consumer<SortCriteria.Builder> sortCriteria) Represents the criteria used for sorting malware scan entries.sortCriteria(SortCriteria sortCriteria) Represents the criteria used for sorting malware scan entries.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxResults
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
- Parameters:
maxResults- You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing results.
- Parameters:
nextToken- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
Represents the criteria used to filter the malware scan entries.
- Parameters:
filterCriteria- Represents the criteria used to filter the malware scan entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default ListMalwareScansRequest.Builder filterCriteria(Consumer<ListMalwareScansFilterCriteria.Builder> filterCriteria) Represents the criteria used to filter the malware scan entries.
This is a convenience method that creates an instance of theListMalwareScansFilterCriteria.Builderavoiding the need to create one manually viaListMalwareScansFilterCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterCriteria(ListMalwareScansFilterCriteria).- Parameters:
filterCriteria- a consumer that will call methods onListMalwareScansFilterCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortCriteria
Represents the criteria used for sorting malware scan entries.
- Parameters:
sortCriteria- Represents the criteria used for sorting malware scan entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
Represents the criteria used for sorting malware scan entries.
This is a convenience method that creates an instance of theSortCriteria.Builderavoiding the need to create one manually viaSortCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortCriteria(SortCriteria).- Parameters:
sortCriteria- a consumer that will call methods onSortCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListMalwareScansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListMalwareScansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-