Package com.oracle.bmc.dataflow.model
Class UpdateSqlEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.UpdateSqlEndpointDetails.Builder
-
- Enclosing class:
- UpdateSqlEndpointDetails
public static class UpdateSqlEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSqlEndpointDetailsbuild()UpdateSqlEndpointDetails.Buildercopy(UpdateSqlEndpointDetails model)UpdateSqlEndpointDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateSqlEndpointDetails.Builderdescription(String description)The description of CreateSQLEndpointDetails.UpdateSqlEndpointDetails.BuilderdisplayName(String displayName)The SQL Endpoint name, which can be changed.UpdateSqlEndpointDetails.BuilderdriverShape(String driverShape)The shape of the SQL Endpoint driver instance.UpdateSqlEndpointDetails.BuilderdriverShapeConfig(ShapeConfig driverShapeConfig)UpdateSqlEndpointDetails.BuilderexecutorShape(String executorShape)The shape of the SQL Endpoint worker instance.UpdateSqlEndpointDetails.BuilderexecutorShapeConfig(ShapeConfig executorShapeConfig)UpdateSqlEndpointDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateSqlEndpointDetails.BuilderlakeId(String lakeId)OCI lake OCIDUpdateSqlEndpointDetails.BuilderlogCompartmentId(String logCompartmentId)The identifier of the log group compartment used with the SQL Endpoint.UpdateSqlEndpointDetails.BuilderlogDisplayName(String logDisplayName)The friendly name of the log object used with the SQL Endpoint.UpdateSqlEndpointDetails.BuilderlogGroupId(String logGroupId)The identifier of the log group used with the SQL Endpoint.UpdateSqlEndpointDetails.BuilderlogOperation(SqlEndpointLogOperation logOperation)The log operation will be performed for the Sql Endpoint.UpdateSqlEndpointDetails.BuilderlogRetentionDuration(Integer logRetentionDuration)Log retention duration in daysUpdateSqlEndpointDetails.BuildermaxExecutorCount(Integer maxExecutorCount)The maximum number of executors.UpdateSqlEndpointDetails.BuildermetastoreId(String metastoreId)Metastore OCIDUpdateSqlEndpointDetails.BuilderminExecutorCount(Integer minExecutorCount)The minimum number of executors.UpdateSqlEndpointDetails.BuildersparkAdvancedConfigurations(Map<String,String> sparkAdvancedConfigurations)The Spark configuration passed to the running process.
-
-
-
Method Detail
-
definedTags
public UpdateSqlEndpointDetails.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
-
freeformTags
public UpdateSqlEndpointDetails.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
-
displayName
public UpdateSqlEndpointDetails.Builder displayName(String displayName)
The SQL Endpoint name, which can be changed.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public UpdateSqlEndpointDetails.Builder description(String description)
The description of CreateSQLEndpointDetails.- Parameters:
description- the value to set- Returns:
- this builder
-
driverShape
public UpdateSqlEndpointDetails.Builder driverShape(String driverShape)
The shape of the SQL Endpoint driver instance.- Parameters:
driverShape- the value to set- Returns:
- this builder
-
driverShapeConfig
public UpdateSqlEndpointDetails.Builder driverShapeConfig(ShapeConfig driverShapeConfig)
-
executorShape
public UpdateSqlEndpointDetails.Builder executorShape(String executorShape)
The shape of the SQL Endpoint worker instance.- Parameters:
executorShape- the value to set- Returns:
- this builder
-
executorShapeConfig
public UpdateSqlEndpointDetails.Builder executorShapeConfig(ShapeConfig executorShapeConfig)
-
minExecutorCount
public UpdateSqlEndpointDetails.Builder minExecutorCount(Integer minExecutorCount)
The minimum number of executors.- Parameters:
minExecutorCount- the value to set- Returns:
- this builder
-
maxExecutorCount
public UpdateSqlEndpointDetails.Builder maxExecutorCount(Integer maxExecutorCount)
The maximum number of executors.- Parameters:
maxExecutorCount- the value to set- Returns:
- this builder
-
metastoreId
public UpdateSqlEndpointDetails.Builder metastoreId(String metastoreId)
Metastore OCID- Parameters:
metastoreId- the value to set- Returns:
- this builder
-
lakeId
public UpdateSqlEndpointDetails.Builder lakeId(String lakeId)
OCI lake OCID- Parameters:
lakeId- the value to set- Returns:
- this builder
-
logGroupId
public UpdateSqlEndpointDetails.Builder logGroupId(String logGroupId)
The identifier of the log group used with the SQL Endpoint.- Parameters:
logGroupId- the value to set- Returns:
- this builder
-
logCompartmentId
public UpdateSqlEndpointDetails.Builder logCompartmentId(String logCompartmentId)
The identifier of the log group compartment used with the SQL Endpoint.- Parameters:
logCompartmentId- the value to set- Returns:
- this builder
-
logDisplayName
public UpdateSqlEndpointDetails.Builder logDisplayName(String logDisplayName)
The friendly name of the log object used with the SQL Endpoint.- Parameters:
logDisplayName- the value to set- Returns:
- this builder
-
logRetentionDuration
public UpdateSqlEndpointDetails.Builder logRetentionDuration(Integer logRetentionDuration)
Log retention duration in days- Parameters:
logRetentionDuration- the value to set- Returns:
- this builder
-
logOperation
public UpdateSqlEndpointDetails.Builder logOperation(SqlEndpointLogOperation logOperation)
The log operation will be performed for the Sql Endpoint.- Parameters:
logOperation- the value to set- Returns:
- this builder
-
sparkAdvancedConfigurations
public UpdateSqlEndpointDetails.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
-
build
public UpdateSqlEndpointDetails build()
-
copy
public UpdateSqlEndpointDetails.Builder copy(UpdateSqlEndpointDetails model)
-
-