@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public final class UpdateSqlEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information about all updatable parameters of a SQL Endpoint.
Note: Objects should always be created or deserialized using the UpdateSqlEndpointDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the UpdateSqlEndpointDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateSqlEndpointDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateSqlEndpointDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateSqlEndpointDetails(Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags,
String displayName,
String description,
String driverShape,
ShapeConfig driverShapeConfig,
String executorShape,
ShapeConfig executorShapeConfig,
Integer minExecutorCount,
Integer maxExecutorCount,
String metastoreId,
String lakeId,
Map<String,String> sparkAdvancedConfigurations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateSqlEndpointDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
The description of CreateSQLEndpointDetails.
|
String |
getDisplayName()
The SQL Endpoint name, which can be changed.
|
String |
getDriverShape()
The shape of the SQL Endpoint driver instance.
|
ShapeConfig |
getDriverShapeConfig() |
String |
getExecutorShape()
The shape of the SQL Endpoint worker instance.
|
ShapeConfig |
getExecutorShapeConfig() |
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getLakeId()
OCI lake OCID
|
Integer |
getMaxExecutorCount()
The maximum number of executors.
|
String |
getMetastoreId()
Metastore OCID
|
Integer |
getMinExecutorCount()
The minimum number of executors.
|
Map<String,String> |
getSparkAdvancedConfigurations()
The Spark configuration passed to the running process.
|
int |
hashCode() |
UpdateSqlEndpointDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"definedTags","freeformTags","displayName","description","driverShape","driverShapeConfig","executorShape","executorShapeConfig","minExecutorCount","maxExecutorCount","metastoreId","lakeId","sparkAdvancedConfigurations"}) public UpdateSqlEndpointDetails(Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, String displayName, String description, String driverShape, ShapeConfig driverShapeConfig, String executorShape, ShapeConfig executorShapeConfig, Integer minExecutorCount, Integer maxExecutorCount, String metastoreId, String lakeId, Map<String,String> sparkAdvancedConfigurations)
public static UpdateSqlEndpointDetails.Builder builder()
Create a new builder.
public UpdateSqlEndpointDetails.Builder toBuilder()
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more
information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
public Map<String,String> getFreeformTags()
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"}
public String getDisplayName()
The SQL Endpoint name, which can be changed.
public String getDescription()
The description of CreateSQLEndpointDetails.
public String getDriverShape()
The shape of the SQL Endpoint driver instance.
public ShapeConfig getDriverShapeConfig()
public String getExecutorShape()
The shape of the SQL Endpoint worker instance.
public ShapeConfig getExecutorShapeConfig()
public Integer getMinExecutorCount()
The minimum number of executors.
public Integer getMaxExecutorCount()
The maximum number of executors.
public String getMetastoreId()
Metastore OCID
public String getLakeId()
OCI lake OCID
public Map<String,String> getSparkAdvancedConfigurations()
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.