Class Domain.Builder

  • Enclosing class:
    Domain

    public static class Domain.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
    • Method Detail

      • build

        public Domain build()
        Builds a Domain.
        Returns:
        the new Domain instance
      • id

        public Domain.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the Domain builder
      • name

        public Domain.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the Domain builder
      • container

        public Domain.Builder container​(ContainerReference container)
        Set the container.
        Parameters:
        container - the container
        Returns:
        the Domain builder