public static class SqlEndpointSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlEndpointSummary |
build() |
SqlEndpointSummary.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
SqlEndpointSummary.Builder |
copy(SqlEndpointSummary model) |
SqlEndpointSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SqlEndpointSummary.Builder |
description(String description)
The description of the SQL Endpoint.
|
SqlEndpointSummary.Builder |
displayName(String displayName)
The SQL Endpoint name, which can be changed.
|
SqlEndpointSummary.Builder |
driverShape(String driverShape)
The shape of the SQL Endpoint driver instance.
|
SqlEndpointSummary.Builder |
driverShapeConfig(ShapeConfig driverShapeConfig) |
SqlEndpointSummary.Builder |
executorShape(String executorShape)
The shape of the SQL Endpoint executor instance.
|
SqlEndpointSummary.Builder |
executorShapeConfig(ShapeConfig executorShapeConfig) |
SqlEndpointSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SqlEndpointSummary.Builder |
id(String id)
The provision identifier that is immutable on creation.
|
SqlEndpointSummary.Builder |
jdbcEndpointUrl(String jdbcEndpointUrl)
The JDBC URL field.
|
SqlEndpointSummary.Builder |
lakeId(String lakeId)
The OCID of OCI Lake.
|
SqlEndpointSummary.Builder |
lastAcceptedRequestToken(String lastAcceptedRequestToken)
This token is used by Splat, and indicates that the service accepts the request, and that
the request is currently being processed.
|
SqlEndpointSummary.Builder |
lifecycleState(SqlEndpointLifecycleState lifecycleState)
The current state of the Sql Endpoint.
|
SqlEndpointSummary.Builder |
maxExecutorCount(Integer maxExecutorCount)
The maximum number of executors.
|
SqlEndpointSummary.Builder |
metastoreId(String metastoreId)
The OCID of OCI Hive Metastore.
|
SqlEndpointSummary.Builder |
minExecutorCount(Integer minExecutorCount)
The minimum number of executors.
|
SqlEndpointSummary.Builder |
networkConfiguration(SqlEndpointNetworkConfiguration networkConfiguration) |
SqlEndpointSummary.Builder |
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
|
SqlEndpointSummary.Builder |
sparkAdvancedConfigurations(Map<String,String> sparkAdvancedConfigurations)
The Spark configuration passed to the running process.
|
SqlEndpointSummary.Builder |
sqlEndpointVersion(String sqlEndpointVersion)
The version of SQL Endpoint.
|
SqlEndpointSummary.Builder |
stateMessage(String stateMessage)
A message describing the reason why the resource is in it’s current state.
|
SqlEndpointSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
SqlEndpointSummary.Builder |
timeCreated(Date timeCreated)
The time the Sql Endpoint was created.
|
SqlEndpointSummary.Builder |
timeUpdated(Date timeUpdated)
The time the Sql Endpoint was updated.
|
SqlEndpointSummary.Builder |
warehouseBucketUri(String warehouseBucketUri)
The warehouse bucket URI.
|
public SqlEndpointSummary.Builder id(String id)
The provision identifier that is immutable on creation.
id
- the value to setpublic SqlEndpointSummary.Builder displayName(String displayName)
The SQL Endpoint name, which can be changed.
displayName
- the value to setpublic SqlEndpointSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic SqlEndpointSummary.Builder jdbcEndpointUrl(String jdbcEndpointUrl)
The JDBC URL field. For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFI
jdbcEndpointUrl
- the value to setpublic SqlEndpointSummary.Builder timeCreated(Date timeCreated)
The time the Sql Endpoint was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SqlEndpointSummary.Builder timeUpdated(Date timeUpdated)
The time the Sql Endpoint was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SqlEndpointSummary.Builder lifecycleState(SqlEndpointLifecycleState lifecycleState)
The current state of the Sql Endpoint.
lifecycleState
- the value to setpublic SqlEndpointSummary.Builder stateMessage(String stateMessage)
A message describing the reason why the resource is in it’s current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state.
stateMessage
- the value to setpublic SqlEndpointSummary.Builder sqlEndpointVersion(String sqlEndpointVersion)
The version of SQL Endpoint.
sqlEndpointVersion
- the value to setpublic SqlEndpointSummary.Builder driverShape(String driverShape)
The shape of the SQL Endpoint driver instance.
driverShape
- the value to setpublic SqlEndpointSummary.Builder driverShapeConfig(ShapeConfig driverShapeConfig)
public SqlEndpointSummary.Builder executorShape(String executorShape)
The shape of the SQL Endpoint executor instance.
executorShape
- the value to setpublic SqlEndpointSummary.Builder executorShapeConfig(ShapeConfig executorShapeConfig)
public SqlEndpointSummary.Builder minExecutorCount(Integer minExecutorCount)
The minimum number of executors.
minExecutorCount
- the value to setpublic SqlEndpointSummary.Builder maxExecutorCount(Integer maxExecutorCount)
The maximum number of executors.
maxExecutorCount
- the value to setpublic SqlEndpointSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
ownerPrincipalId
- the value to setpublic SqlEndpointSummary.Builder metastoreId(String metastoreId)
The OCID of OCI Hive Metastore.
metastoreId
- the value to setpublic SqlEndpointSummary.Builder lakeId(String lakeId)
The OCID of OCI Lake.
lakeId
- the value to setpublic SqlEndpointSummary.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
warehouseBucketUri
- the value to setpublic SqlEndpointSummary.Builder description(String description)
The description of the SQL Endpoint.
description
- the value to setpublic SqlEndpointSummary.Builder lastAcceptedRequestToken(String lastAcceptedRequestToken)
This token is used by Splat, and indicates that the service accepts the request, and that the request is currently being processed.
lastAcceptedRequestToken
- the value to setpublic SqlEndpointSummary.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"}
freeformTags
- the value to setpublic SqlEndpointSummary.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"}}
definedTags
- the value to setpublic SqlEndpointSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle
cloud infrastructure services. Each key is predefined and scoped to namespaces. For more
information, see Resource
Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic SqlEndpointSummary.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.
sparkAdvancedConfigurations
- the value to setpublic SqlEndpointSummary.Builder networkConfiguration(SqlEndpointNetworkConfiguration networkConfiguration)
public SqlEndpointSummary build()
public SqlEndpointSummary.Builder copy(SqlEndpointSummary model)
Copyright © 2016–2024. All rights reserved.