public void setType(String type) {
        this.type = type;
    }
<p>
The type of constraint.
</p>
<ul>
<li>
<p>
<code>LAUNCH</code>
</p>
</li>
<li>
<p>
<code>NOTIFICATION</code>
</p>
</li>
<li>
<p>
STACKSET
</p>
</li>
<li>
<p>
<code>TEMPLATE</code>
</p>
</li>
</ul>

@param type
       The type of constraint.</p>
       <ul>
       <li>
       <p>
       <code>LAUNCH</code>
       </p>
       </li>
       <li>
       <p>
       <code>NOTIFICATION</code>
       </p>
       </li>
       <li>
       <p>
       STACKSET
       </p>
       </li>
       <li>
       <p>
       <code>TEMPLATE</code>
       </p>
       </li>
aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/ConstraintDetail.java