public Activation withIamRole(String iamRole) {
        setIamRole(iamRole);
        return this;
    }
<p>
The Identity and Access Management (IAM) role to assign to the managed node.
</p>

@param iamRole
       The Identity and Access Management (IAM) role to assign to the managed node.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/Activation.java