Class DetectorArgs.Builder

  • Enclosing class:
    DetectorArgs

    public static final class DetectorArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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