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

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