Interface UpdateMalwareScanSettingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMalwareScanSettingsRequest.Builder,
,UpdateMalwareScanSettingsRequest> GuardDutyRequest.Builder
,SdkBuilder<UpdateMalwareScanSettingsRequest.Builder,
,UpdateMalwareScanSettingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMalwareScanSettingsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.ebsSnapshotPreservation
(String ebsSnapshotPreservation) An enum value representing possible snapshot preservation settings.ebsSnapshotPreservation
(EbsSnapshotPreservation ebsSnapshotPreservation) An enum value representing possible snapshot preservation settings.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scanResourceCriteria
(Consumer<ScanResourceCriteria.Builder> scanResourceCriteria) Represents the criteria to be used in the filter for selecting resources to scan.scanResourceCriteria
(ScanResourceCriteria scanResourceCriteria) Represents the criteria to be used in the filter for selecting resources to scan.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 specifies the GuardDuty service where you want to update scan settings.
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 specifies the GuardDuty service where you want to update scan settings.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.
-
scanResourceCriteria
UpdateMalwareScanSettingsRequest.Builder scanResourceCriteria(ScanResourceCriteria scanResourceCriteria) Represents the criteria to be used in the filter for selecting resources to scan.
- Parameters:
scanResourceCriteria
- Represents the criteria to be used in the filter for selecting resources to scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanResourceCriteria
default UpdateMalwareScanSettingsRequest.Builder scanResourceCriteria(Consumer<ScanResourceCriteria.Builder> scanResourceCriteria) Represents the criteria to be used in the filter for selecting resources to scan.
This is a convenience method that creates an instance of theScanResourceCriteria.Builder
avoiding the need to create one manually viaScanResourceCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscanResourceCriteria(ScanResourceCriteria)
.- Parameters:
scanResourceCriteria
- a consumer that will call methods onScanResourceCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsSnapshotPreservation
An enum value representing possible snapshot preservation settings.
- Parameters:
ebsSnapshotPreservation
- An enum value representing possible snapshot preservation settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsSnapshotPreservation
UpdateMalwareScanSettingsRequest.Builder ebsSnapshotPreservation(EbsSnapshotPreservation ebsSnapshotPreservation) An enum value representing possible snapshot preservation settings.
- Parameters:
ebsSnapshotPreservation
- An enum value representing possible snapshot preservation settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMalwareScanSettingsRequest.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
UpdateMalwareScanSettingsRequest.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.
-