Interface SimpleScopeTerm.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SimpleScopeTerm.Builder,SimpleScopeTerm>, SdkBuilder<SimpleScopeTerm.Builder,SimpleScopeTerm>, SdkPojo
Enclosing class:
SimpleScopeTerm

public static interface SimpleScopeTerm.Builder extends SdkPojo, CopyableBuilder<SimpleScopeTerm.Builder,SimpleScopeTerm>
  • Method Details

    • comparator

      SimpleScopeTerm.Builder comparator(String comparator)

      The operator to use in the condition. Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

      • OBJECT_KEY - STARTS_WITH

      • OBJECT_LAST_MODIFIED_DATE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      • OBJECT_SIZE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      Parameters:
      comparator - The operator to use in the condition. Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

      • OBJECT_KEY - STARTS_WITH

      • OBJECT_LAST_MODIFIED_DATE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      • OBJECT_SIZE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

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

      SimpleScopeTerm.Builder comparator(JobComparator comparator)

      The operator to use in the condition. Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

      • OBJECT_KEY - STARTS_WITH

      • OBJECT_LAST_MODIFIED_DATE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      • OBJECT_SIZE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      Parameters:
      comparator - The operator to use in the condition. Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - EQ (equals) or NE (not equals)

      • OBJECT_KEY - STARTS_WITH

      • OBJECT_LAST_MODIFIED_DATE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

      • OBJECT_SIZE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)

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

      The object property to use in the condition.

      Parameters:
      key - The object property to use in the condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • key

      The object property to use in the condition.

      Parameters:
      key - The object property to use in the condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • values

      An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

      Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

      • OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

      • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2023-09-24T14:31:13Z

      • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

      Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

      Parameters:
      values - An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

      Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

      • OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

      • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2023-09-24T14:31:13Z

      • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

      Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

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

      SimpleScopeTerm.Builder values(String... values)

      An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

      Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

      • OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

      • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2023-09-24T14:31:13Z

      • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

      Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

      Parameters:
      values - An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.

      Valid values for each supported property (key) are:

      • OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf

      • OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.

      • OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2023-09-24T14:31:13Z

      • OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.

      Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.

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