Class ContractServer.Builder

  • Enclosing class:
    ContractServer

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public ContractServer build()
        Builds a ContractServer.
        Returns:
        the new ContractServer instance
      • addRoles

        public ContractServer.Builder addRoles​(java.lang.String roles)
        Adds a new element to roles.
        Parameters:
        roles - the new element to be added
        Returns:
        the ContractServer builder
      • addCustomProperties

        public ContractServer.Builder addCustomProperties​(ContractTemplateCustomProperty customProperties)
        Adds a new element to customProperties.
        Parameters:
        customProperties - the new element to be added
        Returns:
        the ContractServer builder
      • server

        public ContractServer.Builder server​(java.lang.String server)
        Set the server.
        Parameters:
        server - the server
        Returns:
        the ContractServer builder
      • connectionId

        public ContractServer.Builder connectionId​(java.lang.String connectionId)
        Set the connectionId.
        Parameters:
        connectionId - the connectionId
        Returns:
        the ContractServer builder
      • type

        public ContractServer.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the ContractServer builder
      • description

        public ContractServer.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the ContractServer builder
      • environment

        public ContractServer.Builder environment​(java.lang.String environment)
        Set the environment.
        Parameters:
        environment - the environment
        Returns:
        the ContractServer builder
      • account

        public ContractServer.Builder account​(java.lang.String account)
        Set the account.
        Parameters:
        account - the account
        Returns:
        the ContractServer builder
      • catalog

        public ContractServer.Builder catalog​(java.lang.String catalog)
        Set the catalog.
        Parameters:
        catalog - the catalog
        Returns:
        the ContractServer builder
      • database

        public ContractServer.Builder database​(java.lang.String database)
        Set the database.
        Parameters:
        database - the database
        Returns:
        the ContractServer builder
      • dataset

        public ContractServer.Builder dataset​(java.lang.String dataset)
        Set the dataset.
        Parameters:
        dataset - the dataset
        Returns:
        the ContractServer builder
      • delimiter

        public ContractServer.Builder delimiter​(java.lang.String delimiter)
        Set the delimiter.
        Parameters:
        delimiter - the delimiter
        Returns:
        the ContractServer builder
      • endpointUrl

        public ContractServer.Builder endpointUrl​(java.lang.String endpointUrl)
        Set the endpointUrl.
        Parameters:
        endpointUrl - the endpointUrl
        Returns:
        the ContractServer builder
      • format

        public ContractServer.Builder format​(java.lang.String format)
        Set the format.
        Parameters:
        format - the format
        Returns:
        the ContractServer builder
      • host

        public ContractServer.Builder host​(java.lang.String host)
        Set the host.
        Parameters:
        host - the host
        Returns:
        the ContractServer builder
      • location

        public ContractServer.Builder location​(java.lang.String location)
        Set the location.
        Parameters:
        location - the location
        Returns:
        the ContractServer builder
      • path

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

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

        public ContractServer.Builder project​(java.lang.String project)
        Set the project.
        Parameters:
        project - the project
        Returns:
        the ContractServer builder
      • region

        public ContractServer.Builder region​(java.lang.String region)
        Set the region.
        Parameters:
        region - the region
        Returns:
        the ContractServer builder
      • regionName

        public ContractServer.Builder regionName​(java.lang.String regionName)
        Set the regionName.
        Parameters:
        regionName - the regionName
        Returns:
        the ContractServer builder
      • schema

        public ContractServer.Builder schema​(java.lang.String schema)
        Set the schema.
        Parameters:
        schema - the schema
        Returns:
        the ContractServer builder
      • serviceName

        public ContractServer.Builder serviceName​(java.lang.String serviceName)
        Set the serviceName.
        Parameters:
        serviceName - the serviceName
        Returns:
        the ContractServer builder
      • stagingDir

        public ContractServer.Builder stagingDir​(java.lang.String stagingDir)
        Set the stagingDir.
        Parameters:
        stagingDir - the stagingDir
        Returns:
        the ContractServer builder
      • stream

        public ContractServer.Builder stream​(java.lang.String stream)
        Set the stream.
        Parameters:
        stream - the stream
        Returns:
        the ContractServer builder
      • warehouse

        public ContractServer.Builder warehouse​(java.lang.String warehouse)
        Set the warehouse.
        Parameters:
        warehouse - the warehouse
        Returns:
        the ContractServer builder
      • roles

        public ContractServer.Builder roles​(java.util.List<java.lang.String> roles)
        Set the roles. Existing roles will be replaced.
        Parameters:
        roles - the roles
        Returns:
        the ContractServer builder
      • customProperties

        public ContractServer.Builder customProperties​(java.util.List<ContractTemplateCustomProperty> customProperties)
        Set the customProperties. Existing customProperties will be replaced.
        Parameters:
        customProperties - the customProperties
        Returns:
        the ContractServer builder