public void setType(String type) {
        this.type = type;
    }
<p>
The type of resource.
</p>

@param type
       The type of resource.
@see PrincipalType
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/Principal.java