Class CreateSqlEndpointDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CreateSqlEndpointDetails.Builder compartmentId​(String compartmentId)
        The identifier of the compartment used with the SQL Endpoint.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public CreateSqlEndpointDetails.Builder displayName​(String displayName)
        The SQL Endpoint name, which can be changed.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateSqlEndpointDetails.Builder description​(String description)
        The description of CreateSQLEndpointDetails.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • sqlEndpointVersion

        public CreateSqlEndpointDetails.Builder sqlEndpointVersion​(String sqlEndpointVersion)
        The version of the SQL Endpoint.
        Parameters:
        sqlEndpointVersion - the value to set
        Returns:
        this builder
      • driverShape

        public CreateSqlEndpointDetails.Builder driverShape​(String driverShape)
        The shape of the SQL Endpoint driver instance.
        Parameters:
        driverShape - the value to set
        Returns:
        this builder
      • executorShape

        public CreateSqlEndpointDetails.Builder executorShape​(String executorShape)
        The shape of the SQL Endpoint worker instance.
        Parameters:
        executorShape - the value to set
        Returns:
        this builder
      • minExecutorCount

        public CreateSqlEndpointDetails.Builder minExecutorCount​(Integer minExecutorCount)
        The minimum number of executors.
        Parameters:
        minExecutorCount - the value to set
        Returns:
        this builder
      • maxExecutorCount

        public CreateSqlEndpointDetails.Builder maxExecutorCount​(Integer maxExecutorCount)
        The maximum number of executors.
        Parameters:
        maxExecutorCount - the value to set
        Returns:
        this builder
      • warehouseBucketUri

        public CreateSqlEndpointDetails.Builder warehouseBucketUri​(String warehouseBucketUri)
        The warehouse bucket URI.

        It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here https://docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html

        Parameters:
        warehouseBucketUri - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateSqlEndpointDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateSqlEndpointDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • sparkAdvancedConfigurations

        public CreateSqlEndpointDetails.Builder sparkAdvancedConfigurations​(Map<String,​String> sparkAdvancedConfigurations)
        The Spark configuration passed to the running process.

        See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { “spark.app.name” : “My App Name”, “spark.shuffle.io.maxRetries” : “4” } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned.

        Parameters:
        sparkAdvancedConfigurations - the value to set
        Returns:
        this builder