public StartLifecyclePolicyPreviewRequest withLifecyclePolicyText(String lifecyclePolicyText) {
        setLifecyclePolicyText(lifecyclePolicyText);
        return this;
    }
<p>
The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is
used.
</p>

@param lifecyclePolicyText
       The policy to be evaluated against. If you do not specify a policy, the current policy for the repository
       is used.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/StartLifecyclePolicyPreviewRequest.java