public ClusterLifeCycleConfig withSourceS3Uri(String sourceS3Uri) {
        setSourceS3Uri(sourceS3Uri);
        return this;
    }
<p>
An Amazon S3 bucket path where your lifecycle scripts are stored.
</p>
<important>
<p>
Make sure that the S3 bucket path starts with <code>s3://sagemaker-</code>. The <a href=
"https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod"
>IAM role for SageMaker HyperPod</a> has the managed <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html">
<code>AmazonSageMakerClusterInstanceRolePolicy</code> </a> attached, which allows access to S3 buckets with the
specific prefix <code>sagemaker-</code>.
</p>
</important>

@param sourceS3Uri
       An Amazon S3 bucket path where your lifecycle scripts are stored.</p> <important>
       <p>
       Make sure that the S3 bucket path starts with <code>s3://sagemaker-</code>. The <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod"
       >IAM role for SageMaker HyperPod</a> has the managed <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html">
       <code>AmazonSageMakerClusterInstanceRolePolicy</code> </a> attached, which allows access to S3 buckets
       with the specific prefix <code>sagemaker-</code>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ClusterLifeCycleConfig.java