public KerberosPrincipalType getType() {
    return type;
  }
Gets the type of this KerberosPrincipalDescriptor

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