Interface LifecyclePolicyDetail.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.
      • name

        LifecyclePolicyDetail.Builder name​(String 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.
      • policy

        LifecyclePolicyDetail.Builder policy​(Document 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.
      • 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.