public GetIdNamespaceResult withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources
defined in this <code>IdNamespace</code> on your behalf as part of a workflow run.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the
       resources defined in this <code>IdNamespace</code> on your behalf as part of a workflow run.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-entityresolution/src/main/java/com/amazonaws/services/entityresolution/model/GetIdNamespaceResult.java