Class CreateSchemaOptions.Builder

  • Enclosing class:
    CreateSchemaOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public CreateSchemaOptions build()
        Builds a CreateSchemaOptions.
        Returns:
        the new CreateSchemaOptions instance
      • engineId

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

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

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

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

        public CreateSchemaOptions.Builder hostname​(java.lang.String hostname)
        Set the hostname.
        Parameters:
        hostname - the hostname
        Returns:
        the CreateSchemaOptions builder
      • port

        public CreateSchemaOptions.Builder port​(long port)
        Set the port.
        Parameters:
        port - the port
        Returns:
        the CreateSchemaOptions builder
      • storageName

        public CreateSchemaOptions.Builder storageName​(java.lang.String storageName)
        Set the storageName.
        Parameters:
        storageName - the storageName
        Returns:
        the CreateSchemaOptions builder
      • authInstanceId

        public CreateSchemaOptions.Builder authInstanceId​(java.lang.String authInstanceId)
        Set the authInstanceId.
        Parameters:
        authInstanceId - the authInstanceId
        Returns:
        the CreateSchemaOptions builder
      • schemaPrototype

        public CreateSchemaOptions.Builder schemaPrototype​(SchemaPrototype schemaPrototype)
        Set the schemaPrototype.
        Parameters:
        schemaPrototype - the schemaPrototype
        Returns:
        the CreateSchemaOptions builder