public Configuration withIamRole(IamRoleConfiguration iamRole) {
        setIamRole(iamRole);
        return this;
    }
<p>
The access control configuration is for an IAM role.
</p>

@param iamRole
       The access control configuration is for an IAM role.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/Configuration.java