public AwsRdsDbDomainMembership withIamRoleName(String iamRoleName) {
        setIamRoleName(iamRoleName);
        return this;
    }
<p>
The name of the IAM role to use when making API calls to the Directory Service.
</p>

@param iamRoleName
       The name of the IAM role to use when making API calls to the Directory Service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbDomainMembership.java