Interface UsageStatisticsFilter.Builder

    • Method Detail

      • comparator

        UsageStatisticsFilter.Builder comparator​(String comparator)

        The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

        Parameters:
        comparator - The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageStatisticsFilterComparator, UsageStatisticsFilterComparator
      • comparator

        UsageStatisticsFilter.Builder comparator​(UsageStatisticsFilterComparator comparator)

        The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

        Parameters:
        comparator - The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageStatisticsFilterComparator, UsageStatisticsFilterComparator
      • values

        UsageStatisticsFilter.Builder values​(Collection<String> values)

        An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

        Valid values for each supported field are:

        • accountId - The unique identifier for an Amazon Web Services account.

        • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.

        • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.

        • total - A string that represents the current estimated cost for an account.

        Parameters:
        values - An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

        Valid values for each supported field are:

        • accountId - The unique identifier for an Amazon Web Services account.

        • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.

        • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.

        • total - A string that represents the current estimated cost for an account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        UsageStatisticsFilter.Builder values​(String... values)

        An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

        Valid values for each supported field are:

        • accountId - The unique identifier for an Amazon Web Services account.

        • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.

        • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.

        • total - A string that represents the current estimated cost for an account.

        Parameters:
        values - An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

        Valid values for each supported field are:

        • accountId - The unique identifier for an Amazon Web Services account.

        • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.

        • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.

        • total - A string that represents the current estimated cost for an account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.