Interface IndexPolicy.Builder

    • Method Detail

      • logGroupIdentifier

        IndexPolicy.Builder logGroupIdentifier​(String logGroupIdentifier)

        The ARN of the log group that this index policy applies to.

        Parameters:
        logGroupIdentifier - The ARN of the log group that this index policy applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTime

        IndexPolicy.Builder lastUpdateTime​(Long lastUpdateTime)

        The date and time that this index policy was most recently updated.

        Parameters:
        lastUpdateTime - The date and time that this index policy was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        IndexPolicy.Builder policyDocument​(String policyDocument)

        The policy document for this index policy, in JSON format.

        Parameters:
        policyDocument - The policy document for this index policy, in JSON format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        IndexPolicy.Builder policyName​(String policyName)

        The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.

        Parameters:
        policyName - The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        IndexPolicy.Builder source​(String source)

        This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.

        Parameters:
        source - This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexSource, IndexSource
      • source

        IndexPolicy.Builder source​(IndexSource source)

        This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.

        Parameters:
        source - This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexSource, IndexSource