public String getType() {
        return this.type;
    }
<p>
The type of constraint. Use <code>distinctInstance</code> to ensure that each task in a particular group is
running on a different container instance. Use <code>memberOf</code> to restrict the selection to a group of
valid candidates.
</p>

@return The type of constraint. Use <code>distinctInstance</code> to ensure that each task in a particular group
        is running on a different container instance. Use <code>memberOf</code> to restrict the selection to a
        group of valid candidates.
@see PlacementConstraintType
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/PlacementConstraint.java