public CreateInferenceSchedulerRequest withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the
       inference.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/CreateInferenceSchedulerRequest.java