Interface LifecycleRuleFilter.Builder

    • Method Detail

      • prefix

        LifecycleRuleFilter.Builder prefix​(String prefix)

        Prefix identifying one or more objects to which the rule applies.

        Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

        Parameters:
        prefix - Prefix identifying one or more objects to which the rule applies.

        Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

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

        LifecycleRuleFilter.Builder tag​(Tag tag)

        This tag must exist in the object's tag set in order for the rule to apply.

        Parameters:
        tag - This tag must exist in the object's tag set in order for the rule to apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectSizeGreaterThan

        LifecycleRuleFilter.Builder objectSizeGreaterThan​(Long objectSizeGreaterThan)

        Minimum object size to which the rule applies.

        Parameters:
        objectSizeGreaterThan - Minimum object size to which the rule applies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectSizeLessThan

        LifecycleRuleFilter.Builder objectSizeLessThan​(Long objectSizeLessThan)

        Maximum object size to which the rule applies.

        Parameters:
        objectSizeLessThan - Maximum object size to which the rule applies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • and

        LifecycleRuleFilter.Builder and​(LifecycleRuleAndOperator and)
        Sets the value of the And property for this object.
        Parameters:
        and - The new value for the And property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.