Interface DescribeMalwareScansRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeMalwareScansRequest.Builder,
,DescribeMalwareScansRequest> GuardDutyRequest.Builder
,SdkBuilder<DescribeMalwareScansRequest.Builder,
,DescribeMalwareScansRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeMalwareScansRequest
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The unique ID of the detector that the request is associated with.filterCriteria
(Consumer<FilterCriteria.Builder> filterCriteria) Represents the criteria to be used in the filter for describing scan entries.filterCriteria
(FilterCriteria filterCriteria) Represents the criteria to be used in the filter for describing 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.sortCriteria
(Consumer<SortCriteria.Builder> sortCriteria) Represents the criteria used for sorting scan entries.sortCriteria
(SortCriteria sortCriteria) Represents the criteria used for sorting scan entries.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
detectorId
The unique ID of the detector that the request is associated with.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector that the request is associated with.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- 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 data.
- 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 data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
filterCriteria
Represents the criteria to be used in the filter for describing scan entries.
- Parameters:
filterCriteria
- Represents the criteria to be used in the filter for describing scan entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default DescribeMalwareScansRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria) Represents the criteria to be used in the filter for describing scan entries.
This is a convenience method that creates an instance of theFilterCriteria.Builder
avoiding the need to create one manually viaFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterCriteria(FilterCriteria)
.- Parameters:
filterCriteria
- a consumer that will call methods onFilterCriteria.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 scan entries. The
attributeName
is required and it must bescanStartTime
.- Parameters:
sortCriteria
- Represents the criteria used for sorting scan entries. TheattributeName
is required and it must bescanStartTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
default DescribeMalwareScansRequest.Builder sortCriteria(Consumer<SortCriteria.Builder> sortCriteria) Represents the criteria used for sorting scan entries. The
This is a convenience method that creates an instance of theattributeName
is required and it must bescanStartTime
.SortCriteria.Builder
avoiding the need to create one manually viaSortCriteria.builder()
.When the
Consumer
completes,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
DescribeMalwareScansRequest.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
DescribeMalwareScansRequest.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.
-