Class OwnerDTO

java.lang.Object
org.apache.gravitino.dto.authorization.OwnerDTO
All Implemented Interfaces:
Owner

public class OwnerDTO extends Object implements Owner
Represents an Owner Data Transfer Object (DTO).
  • Method Details

    • name

      public String name()
      Description copied from interface: Owner
      The name of the owner.
      Specified by:
      name in interface Owner
      Returns:
      The name of the owner.
    • type

      public Owner.Type type()
      Description copied from interface: Owner
      The type of the owner. Only supports user or group.
      Specified by:
      type in interface Owner
      Returns:
      The type of the owner.
    • builder

      public static OwnerDTO.Builder builder()
      Creates a new Builder for constructing an Owner DTO.
      Returns:
      A new Builder instance.