Interface LifecyclePolicyDetail.Builder

  • Method Details

    • type

      The type of lifecycle policy.

      Parameters:
      type - The type of lifecycle policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of lifecycle policy.

      Parameters:
      type - The type of lifecycle policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name of the lifecycle policy.

      Parameters:
      name - The name of the lifecycle policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyVersion

      LifecyclePolicyDetail.Builder policyVersion(String policyVersion)

      The version of the lifecycle policy.

      Parameters:
      policyVersion - The version of the lifecycle policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      LifecyclePolicyDetail.Builder description(String description)

      The description of the lifecycle policy.

      Parameters:
      description - The description of the lifecycle policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The JSON policy document without any whitespaces.

      Parameters:
      policy - The JSON policy document without any whitespaces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      LifecyclePolicyDetail.Builder createdDate(Long createdDate)

      The date the lifecycle policy was created.

      Parameters:
      createdDate - The date the lifecycle policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      LifecyclePolicyDetail.Builder lastModifiedDate(Long lastModifiedDate)

      The timestamp of when the lifecycle policy was last modified.

      Parameters:
      lastModifiedDate - The timestamp of when the lifecycle policy was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.