Class FilterArgs.Builder

  • Enclosing class:
    FilterArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(FilterArgs defaults)
    • Method Detail

      • action

        public FilterArgs.Builder action​(com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - Action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.
        Returns:
        builder
      • action

        public FilterArgs.Builder action​(java.lang.String action)
        Parameters:
        action - Action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.
        Returns:
        builder
      • description

        public FilterArgs.Builder description​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the filter.
        Returns:
        builder
      • description

        public FilterArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the filter.
        Returns:
        builder
      • detectorId

        public FilterArgs.Builder detectorId​(com.pulumi.core.Output<java.lang.String> detectorId)
        Parameters:
        detectorId - ID of a GuardDuty detector, attached to your account.
        Returns:
        builder
      • detectorId

        public FilterArgs.Builder detectorId​(java.lang.String detectorId)
        Parameters:
        detectorId - ID of a GuardDuty detector, attached to your account.
        Returns:
        builder
      • findingCriteria

        public FilterArgs.Builder findingCriteria​(com.pulumi.core.Output<FilterFindingCriteriaArgs> findingCriteria)
        Parameters:
        findingCriteria - Criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.
        Returns:
        builder
      • findingCriteria

        public FilterArgs.Builder findingCriteria​(FilterFindingCriteriaArgs findingCriteria)
        Parameters:
        findingCriteria - Criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.
        Returns:
        builder
      • name

        public FilterArgs.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of your filter.
        Returns:
        builder
      • name

        public FilterArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of your filter.
        Returns:
        builder
      • rank

        public FilterArgs.Builder rank​(com.pulumi.core.Output<java.lang.Integer> rank)
        Parameters:
        rank - Position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
        Returns:
        builder
      • rank

        public FilterArgs.Builder rank​(java.lang.Integer rank)
        Parameters:
        rank - Position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
        Returns:
        builder
      • region

        public FilterArgs.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 FilterArgs.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 FilterArgs.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags that you want to add to the Filter resource. A tag consists of a key and a value. 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 FilterArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags that you want to add to the Filter resource. A tag consists of a key and a value. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder