Class DetectorState.Builder

  • Enclosing class:
    DetectorState

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

      • Builder

        public Builder()
    • Method Detail

      • accountId

        public DetectorState.Builder accountId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> accountId)
        Parameters:
        accountId - AWS account ID of the GuardDuty detector
        Returns:
        builder
      • accountId

        public DetectorState.Builder accountId​(java.lang.String accountId)
        Parameters:
        accountId - AWS account ID of the GuardDuty detector
        Returns:
        builder
      • arn

        public DetectorState.Builder arn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the GuardDuty detector
        Returns:
        builder
      • arn

        public DetectorState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the GuardDuty detector
        Returns:
        builder
      • datasources

        @Deprecated
        public DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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 DetectorState.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
      • tagsAll

        public DetectorState.Builder tagsAll​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DetectorState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder