public String getIamRole() {
        return this.iamRole;
    }
<p>
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM
role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal
<code>ssm.amazonaws.com</code>. For more information, see <a
href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html">Create an IAM
service role for a hybrid and multicloud environment</a> in the <i>Amazon Web Services Systems Manager User
Guide</i>.
</p>
<note>
<p>
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
</p>
</note>

@return The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
        This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service
        principal <code>ssm.amazonaws.com</code>. For more information, see <a
        href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html">Create an
        IAM service role for a hybrid and multicloud environment</a> in the <i>Amazon Web Services Systems
        Manager User Guide</i>.</p> <note>
        <p>
        You can't specify an IAM service-linked role for this parameter. You must create a unique role.
        </p>
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/UpdateManagedInstanceRoleRequest.java