public void setType(String type) {
        this.type = type;
    }
<p>
The type of ID namespace. There are two types: <code>SOURCE</code> and <code>TARGET</code>.
</p>
<p>
The <code>SOURCE</code> contains configurations for <code>sourceId</code> data that will be processed in an ID
mapping workflow.
</p>
<p>
The <code>TARGET</code> contains a configuration of <code>targetId</code> to which all <code>sourceIds</code>
will resolve to.
</p>

@param type
       The type of ID namespace. There are two types: <code>SOURCE</code> and <code>TARGET</code>.</p>
       <p>
       The <code>SOURCE</code> contains configurations for <code>sourceId</code> data that will be processed in
       an ID mapping workflow.
       </p>
       <p>
       The <code>TARGET</code> contains a configuration of <code>targetId</code> to which all
       <code>sourceIds</code> will resolve to.
@see IdNamespaceType
aws-java-sdk-entityresolution/src/main/java/com/amazonaws/services/entityresolution/model/GetIdNamespaceResult.java