Interface UsageStatisticsFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageStatisticsFilter.Builder,UsageStatisticsFilter>,SdkBuilder<UsageStatisticsFilter.Builder,UsageStatisticsFilter>,SdkPojo
- Enclosing class:
- UsageStatisticsFilter
public static interface UsageStatisticsFilter.Builder extends SdkPojo, CopyableBuilder<UsageStatisticsFilter.Builder,UsageStatisticsFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageStatisticsFilter.Buildercomparator(String comparator)The operator to use in the condition.UsageStatisticsFilter.Buildercomparator(UsageStatisticsFilterComparator comparator)The operator to use in the condition.UsageStatisticsFilter.Builderkey(String key)The field to use in the condition.UsageStatisticsFilter.Builderkey(UsageStatisticsFilterKey key)The field to use in the condition.UsageStatisticsFilter.Buildervalues(String... values)An array that lists values to use in the condition, based on the value for the field specified by the key property.UsageStatisticsFilter.Buildervalues(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
-
key
UsageStatisticsFilter.Builder key(String key)
The field to use in the condition.
- Parameters:
key- The field to use in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageStatisticsFilterKey,UsageStatisticsFilterKey
-
key
UsageStatisticsFilter.Builder key(UsageStatisticsFilterKey key)
The field to use in the condition.
- Parameters:
key- The field to use in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageStatisticsFilterKey,UsageStatisticsFilterKey
-
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.
-
-
-