Interface UpdateDetectorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>,GuardDutyRequest.Builder,SdkBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDetectorRequest
public static interface UpdateDetectorRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default UpdateDetectorRequest.BuilderdataSources(Consumer<DataSourceConfigurations.Builder> dataSources)Deprecated.This parameter is deprecated, use Features insteadUpdateDetectorRequest.BuilderdataSources(DataSourceConfigurations dataSources)Deprecated.This parameter is deprecated, use Features insteadUpdateDetectorRequest.BuilderdetectorId(String detectorId)The unique ID of the detector to update.UpdateDetectorRequest.Builderenable(Boolean enable)Specifies whether the detector is enabled or not enabled.UpdateDetectorRequest.Builderfeatures(Collection<DetectorFeatureConfiguration> features)Provides the features that will be updated for the detector.UpdateDetectorRequest.Builderfeatures(Consumer<DetectorFeatureConfiguration.Builder>... features)Provides the features that will be updated for the detector.UpdateDetectorRequest.Builderfeatures(DetectorFeatureConfiguration... features)Provides the features that will be updated for the detector.UpdateDetectorRequest.BuilderfindingPublishingFrequency(String findingPublishingFrequency)An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.UpdateDetectorRequest.BuilderfindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.UpdateDetectorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDetectorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
UpdateDetectorRequest.Builder detectorId(String detectorId)
The unique ID of the detector to update.
- Parameters:
detectorId- The unique ID of the detector to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enable
UpdateDetectorRequest.Builder enable(Boolean enable)
Specifies whether the detector is enabled or not enabled.
- Parameters:
enable- Specifies whether the detector is enabled or not enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingPublishingFrequency
UpdateDetectorRequest.Builder findingPublishingFrequency(String findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
- Parameters:
findingPublishingFrequency- An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FindingPublishingFrequency,FindingPublishingFrequency
-
findingPublishingFrequency
UpdateDetectorRequest.Builder findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.
- Parameters:
findingPublishingFrequency- An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FindingPublishingFrequency,FindingPublishingFrequency
-
dataSources
@Deprecated UpdateDetectorRequest.Builder dataSources(DataSourceConfigurations dataSources)
Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
dataSources- Describes which data sources will be updated.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
@Deprecated default UpdateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be updated.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience method that creates an instance of theDataSourceConfigurations.Builderavoiding the need to create one manually viaDataSourceConfigurations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(DataSourceConfigurations).- Parameters:
dataSources- a consumer that will call methods onDataSourceConfigurations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSources(DataSourceConfigurations)
-
features
UpdateDetectorRequest.Builder features(Collection<DetectorFeatureConfiguration> features)
Provides the features that will be updated for the detector.
- Parameters:
features- Provides the features that will be updated for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
UpdateDetectorRequest.Builder features(DetectorFeatureConfiguration... features)
Provides the features that will be updated for the detector.
- Parameters:
features- Provides the features that will be updated for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
UpdateDetectorRequest.Builder features(Consumer<DetectorFeatureConfiguration.Builder>... features)
Provides the features that will be updated for the detector.
This is a convenience method that creates an instance of theDetectorFeatureConfiguration.Builderavoiding the need to create one manually viaDetectorFeatureConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#features(List.) - Parameters:
features- a consumer that will call methods onDetectorFeatureConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#features(java.util.Collection)
-
overrideConfiguration
UpdateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-