public CreateModelRequest withExecutionRoleArn(String executionRoleArn) {
        setExecutionRoleArn(executionRoleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model artifacts and docker
image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is
part of model hosting. For more information, see <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>.
</p>
<note>
<p>
To be able to pass this role to SageMaker, the caller of this API must have the <code>iam:PassRole</code>
permission.
</p>
</note>

@param executionRoleArn
       The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model artifacts and
       docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute
       instances is part of model hosting. For more information, see <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>. </p>
       <note>
       <p>
       To be able to pass this role to SageMaker, the caller of this API must have the <code>iam:PassRole</code>
       permission.
       </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/CreateModelRequest.java