Interface DescribeMalwareScansRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeMalwareScansRequest.Builder,DescribeMalwareScansRequest>,GuardDutyRequest.Builder,SdkBuilder<DescribeMalwareScansRequest.Builder,DescribeMalwareScansRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeMalwareScansRequest
public static interface DescribeMalwareScansRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<DescribeMalwareScansRequest.Builder,DescribeMalwareScansRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeMalwareScansRequest.BuilderdetectorId(String detectorId)The unique ID of the detector that the request is associated with.default DescribeMalwareScansRequest.BuilderfilterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)Represents the criteria to be used in the filter for describing scan entries.DescribeMalwareScansRequest.BuilderfilterCriteria(FilterCriteria filterCriteria)Represents the criteria to be used in the filter for describing scan entries.DescribeMalwareScansRequest.BuildermaxResults(Integer maxResults)You can use this parameter to indicate the maximum number of items that you want in the response.DescribeMalwareScansRequest.BuildernextToken(String nextToken)You can use this parameter when paginating results.DescribeMalwareScansRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeMalwareScansRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default DescribeMalwareScansRequest.BuildersortCriteria(Consumer<SortCriteria.Builder> sortCriteria)Represents the criteria used for sorting scan entries.DescribeMalwareScansRequest.BuildersortCriteria(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, sdkFields
-
-
-
-
Method Detail
-
detectorId
DescribeMalwareScansRequest.Builder detectorId(String detectorId)
The unique ID of the detector that the request is associated with.
- Parameters:
detectorId- The unique ID of the detector that the request is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeMalwareScansRequest.Builder nextToken(String 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
DescribeMalwareScansRequest.Builder maxResults(Integer 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
DescribeMalwareScansRequest.Builder filterCriteria(FilterCriteria 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.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,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:
filterCriteria(FilterCriteria)
-
sortCriteria
DescribeMalwareScansRequest.Builder sortCriteria(SortCriteria sortCriteria)
Represents the criteria used for sorting scan entries. The
attributeNameis required and it must bescanStartTime.- Parameters:
sortCriteria- Represents the criteria used for sorting scan entries. TheattributeNameis 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 theattributeNameis required and it must bescanStartTime.SortCriteria.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:
sortCriteria(SortCriteria)
-
overrideConfiguration
DescribeMalwareScansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeMalwareScansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-