Class AddDomainTypeRequest.Builder

Object
Builder
Enclosing class:
AddDomainTypeRequest

public static final class AddDomainTypeRequest.Builder extends Object
  • Method Details

    • but

      Deprecated.
      This method will be removed in the future. Please, use AddDomainTypeRequest.builder().
      Clone method for this Builder.
    • id

      The ID of the new Domain Type. Should be unique within all Domain Types. It should have a format of universally unique identifier (UUID) and should not start with 00000000-0000-0000- which is a reserved prefix
      Returns:
      this.
    • publicId

      public AddDomainTypeRequest.Builder publicId(String publicId)
      The public id that will be assigned to the new Domain Type.

      It must be unique within all Domain Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.

      Returns:
      this.
    • name

      Required. The name of the new Domain Type. Should be unique within all Domain Types.
      Returns:
      this.
    • description

      public AddDomainTypeRequest.Builder description(String description)
      The description of the new Domain Type.
      Returns:
      this.
    • parentId

      public AddDomainTypeRequest.Builder parentId(UUID parentId)
      The ID of the parent of the new Domain Type.
      Returns:
      this.
    • build

      public AddDomainTypeRequest build()
    • toString

      public String toString()
      Overrides:
      toString in class Object