Package com.pulumi.aws.guardduty
Class DetectorArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.guardduty.DetectorArgs.Builder
-
- Enclosing class:
- DetectorArgs
public static final class DetectorArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DetectorArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DetectorArgsbuild()DetectorArgs.Builderdatasources(DetectorDatasourcesArgs datasources)Deprecated.datasources is deprecated.DetectorArgs.Builderdatasources(com.pulumi.core.Output<DetectorDatasourcesArgs> datasources)Deprecated.datasources is deprecated.DetectorArgs.Builderenable(com.pulumi.core.Output<java.lang.Boolean> enable)DetectorArgs.Builderenable(java.lang.Boolean enable)DetectorArgs.BuilderfindingPublishingFrequency(com.pulumi.core.Output<java.lang.String> findingPublishingFrequency)DetectorArgs.BuilderfindingPublishingFrequency(java.lang.String findingPublishingFrequency)DetectorArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)DetectorArgs.Builderregion(java.lang.String region)DetectorArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)DetectorArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DetectorArgs defaults)
-
-
Method Detail
-
datasources
@Deprecated public DetectorArgs.Builder datasources(@Nullable com.pulumi.core.Output<DetectorDatasourcesArgs> datasources)
Deprecated.datasources is deprecated. Use aws.guardduty.DetectorFeature resources instead.- Parameters:
datasources- Data sources to enable for the detector. See `datasources` below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `aws.guardduty.DetectorFeature` resources.- Returns:
- builder
-
datasources
@Deprecated public DetectorArgs.Builder datasources(DetectorDatasourcesArgs datasources)
Deprecated.datasources is deprecated. Use aws.guardduty.DetectorFeature resources instead.- Parameters:
datasources- Data sources to enable for the detector. See `datasources` below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `aws.guardduty.DetectorFeature` resources.- Returns:
- builder
-
enable
public DetectorArgs.Builder enable(@Nullable com.pulumi.core.Output<java.lang.Boolean> enable)
- Parameters:
enable- Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.- Returns:
- builder
-
enable
public DetectorArgs.Builder enable(java.lang.Boolean enable)
- Parameters:
enable- Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.- Returns:
- builder
-
findingPublishingFrequency
public DetectorArgs.Builder findingPublishingFrequency(@Nullable com.pulumi.core.Output<java.lang.String> findingPublishingFrequency)
- Parameters:
findingPublishingFrequency- Frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in Terraform to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.- Returns:
- builder
-
findingPublishingFrequency
public DetectorArgs.Builder findingPublishingFrequency(java.lang.String findingPublishingFrequency)
- Parameters:
findingPublishingFrequency- Frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in Terraform to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.- Returns:
- builder
-
region
public DetectorArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public DetectorArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public DetectorArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public DetectorArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public DetectorArgs build()
-
-