Interface LifecycleRuleAndOperator.Builder

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

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

    • prefix

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

      Parameters:
      prefix - Prefix identifying one or more objects to which the rule applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      All of these tags must exist in the object's tag set in order for the rule to apply.

      Parameters:
      tags - All of these tags 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.
    • tags

      All of these tags must exist in the object's tag set in order for the rule to apply.

      Parameters:
      tags - All of these tags 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.
    • tags

      All of these tags must exist in the object's tag set in order for the rule to apply.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • objectSizeGreaterThan

      LifecycleRuleAndOperator.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

      LifecycleRuleAndOperator.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.