public void setType(KerberosPrincipalType type) {
    this.type = type;
  }
Sets the type of this KerberosPrincipalDescriptor
<p/>
The value should be either "service" or "user"

@param type a KerberosPrincipalType declaring the type of this KerberosPrincipalDescriptor
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosPrincipalDescriptor.java