Interface CreateDetectorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDetectorRequest.Builder,CreateDetectorRequest>,GuardDutyRequest.Builder,SdkBuilder<CreateDetectorRequest.Builder,CreateDetectorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDetectorRequest
public static interface CreateDetectorRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateDetectorRequest.Builder,CreateDetectorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description CreateDetectorRequest.BuilderclientToken(String clientToken)The idempotency token for the create request.default CreateDetectorRequest.BuilderdataSources(Consumer<DataSourceConfigurations.Builder> dataSources)Deprecated.This parameter is deprecated, use Features insteadCreateDetectorRequest.BuilderdataSources(DataSourceConfigurations dataSources)Deprecated.This parameter is deprecated, use Features insteadCreateDetectorRequest.Builderenable(Boolean enable)A Boolean value that specifies whether the detector is to be enabled.CreateDetectorRequest.Builderfeatures(Collection<DetectorFeatureConfiguration> features)A list of features that will be configured for the detector.CreateDetectorRequest.Builderfeatures(Consumer<DetectorFeatureConfiguration.Builder>... features)A list of features that will be configured for the detector.CreateDetectorRequest.Builderfeatures(DetectorFeatureConfiguration... features)A list of features that will be configured for the detector.CreateDetectorRequest.BuilderfindingPublishingFrequency(String findingPublishingFrequency)A value that specifies how frequently updated findings are exported.CreateDetectorRequest.BuilderfindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)A value that specifies how frequently updated findings are exported.CreateDetectorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDetectorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDetectorRequest.Buildertags(Map<String,String> tags)The tags to be added to a new detector resource.-
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
-
enable
CreateDetectorRequest.Builder enable(Boolean enable)
A Boolean value that specifies whether the detector is to be enabled.
- Parameters:
enable- A Boolean value that specifies whether the detector is to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateDetectorRequest.Builder clientToken(String clientToken)
The idempotency token for the create request.
- Parameters:
clientToken- The idempotency token for the create request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingPublishingFrequency
CreateDetectorRequest.Builder findingPublishingFrequency(String findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
- Parameters:
findingPublishingFrequency- A value that specifies how frequently updated findings are exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FindingPublishingFrequency,FindingPublishingFrequency
-
findingPublishingFrequency
CreateDetectorRequest.Builder findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)
A value that specifies how frequently updated findings are exported.
- Parameters:
findingPublishingFrequency- A value that specifies how frequently updated findings are exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FindingPublishingFrequency,FindingPublishingFrequency
-
dataSources
@Deprecated CreateDetectorRequest.Builder dataSources(DataSourceConfigurations dataSources)
Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be enabled for the detector.
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 enabled for the detector.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 CreateDetectorRequest.Builder dataSources(Consumer<DataSourceConfigurations.Builder> dataSources)
Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources will be enabled for the detector.
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)
-
tags
CreateDetectorRequest.Builder tags(Map<String,String> tags)
The tags to be added to a new detector resource.
- Parameters:
tags- The tags to be added to a new detector resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
CreateDetectorRequest.Builder features(Collection<DetectorFeatureConfiguration> features)
A list of features that will be configured for the detector.
- Parameters:
features- A list of features that will be configured for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
CreateDetectorRequest.Builder features(DetectorFeatureConfiguration... features)
A list of features that will be configured for the detector.
- Parameters:
features- A list of features that will be configured for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
CreateDetectorRequest.Builder features(Consumer<DetectorFeatureConfiguration.Builder>... features)
A list of features that will be configured 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
CreateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-