Class SqlEndpoint
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dataflow.model.SqlEndpoint
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public final class SqlEndpoint extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe description of a SQL Endpoint.
 Note: Objects should always be created or deserialized using theSqlEndpoint.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 theSqlEndpoint.Builder, which maintain a set of all explicitly set fields calledSqlEndpoint.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSqlEndpoint.Builder
 - 
Constructor SummaryConstructors Constructor Description SqlEndpoint(String id, String displayName, String compartmentId, String jdbcEndpointUrl, Date timeCreated, Date timeUpdated, SqlEndpointLifecycleState lifecycleState, String stateMessage, String sqlEndpointVersion, String driverShape, ShapeConfig driverShapeConfig, String executorShape, ShapeConfig executorShapeConfig, Integer minExecutorCount, Integer maxExecutorCount, String metastoreId, String lakeId, String warehouseBucketUri, String description, String lastAcceptedRequestToken, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Map<String,String> sparkAdvancedConfigurations, String bannerMessage, SqlEndpointNetworkConfiguration networkConfiguration)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlEndpoint.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBannerMessage()The SQL Endpoint message displayed as a banner to provide user with any action items required on the resource.StringgetCompartmentId()The OCID of a compartment.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()The description of the SQL Endpoint.StringgetDisplayName()The SQL Endpoint name, which can be changed.StringgetDriverShape()The shape of the SQL Endpoint driver instance.ShapeConfiggetDriverShapeConfig()StringgetExecutorShape()The shape of the SQL Endpoint executor instance.ShapeConfiggetExecutorShapeConfig()Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The provision identifier that is immutable on creation.StringgetJdbcEndpointUrl()The JDBC URL field.StringgetLakeId()The OCID of OCI Lake.StringgetLastAcceptedRequestToken()This token is used by Splat, and indicates that the service accepts the request, and that the request is currently being processed.SqlEndpointLifecycleStategetLifecycleState()The current state of the Sql Endpoint.IntegergetMaxExecutorCount()The maximum number of executors.StringgetMetastoreId()The OCID of OCI Hive Metastore.IntegergetMinExecutorCount()The minimum number of executors.SqlEndpointNetworkConfigurationgetNetworkConfiguration()Map<String,String>getSparkAdvancedConfigurations()The Spark configuration passed to the running process.StringgetSqlEndpointVersion()The version of SQL Endpoint.StringgetStateMessage()A message describing the reason why the resource is in it’s current state.Map<String,Map<String,Object>>getSystemTags()The system tags associated with this resource, if any.DategetTimeCreated()The time the Sql Endpoint was created.DategetTimeUpdated()The time the Sql Endpoint was updated.StringgetWarehouseBucketUri()The warehouse bucket URI.inthashCode()SqlEndpoint.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SqlEndpoint@Deprecated @ConstructorProperties({"id","displayName","compartmentId","jdbcEndpointUrl","timeCreated","timeUpdated","lifecycleState","stateMessage","sqlEndpointVersion","driverShape","driverShapeConfig","executorShape","executorShapeConfig","minExecutorCount","maxExecutorCount","metastoreId","lakeId","warehouseBucketUri","description","lastAcceptedRequestToken","freeformTags","definedTags","systemTags","sparkAdvancedConfigurations","bannerMessage","networkConfiguration"}) public SqlEndpoint(String id, String displayName, String compartmentId, String jdbcEndpointUrl, Date timeCreated, Date timeUpdated, SqlEndpointLifecycleState lifecycleState, String stateMessage, String sqlEndpointVersion, String driverShape, ShapeConfig driverShapeConfig, String executorShape, ShapeConfig executorShapeConfig, Integer minExecutorCount, Integer maxExecutorCount, String metastoreId, String lakeId, String warehouseBucketUri, String description, String lastAcceptedRequestToken, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Map<String,String> sparkAdvancedConfigurations, String bannerMessage, SqlEndpointNetworkConfiguration networkConfiguration) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SqlEndpoint.Builder builder() Create a new builder.
 - 
toBuilderpublic SqlEndpoint.Builder toBuilder() 
 - 
getIdpublic String getId() The provision identifier that is immutable on creation.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The SQL Endpoint name, which can be changed.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of a compartment.- Returns:
- the value
 
 - 
getJdbcEndpointUrlpublic String getJdbcEndpointUrl() The JDBC URL field.For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFI - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the Sql Endpoint was created.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the Sql Endpoint was updated.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getLifecycleStatepublic SqlEndpointLifecycleState getLifecycleState() The current state of the Sql Endpoint.- Returns:
- the value
 
 - 
getStateMessagepublic String getStateMessage() 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. - Returns:
- the value
 
 - 
getSqlEndpointVersionpublic String getSqlEndpointVersion() The version of SQL Endpoint.- Returns:
- the value
 
 - 
getDriverShapepublic String getDriverShape() The shape of the SQL Endpoint driver instance.- Returns:
- the value
 
 - 
getDriverShapeConfigpublic ShapeConfig getDriverShapeConfig() 
 - 
getExecutorShapepublic String getExecutorShape() The shape of the SQL Endpoint executor instance.- Returns:
- the value
 
 - 
getExecutorShapeConfigpublic ShapeConfig getExecutorShapeConfig() 
 - 
getMinExecutorCountpublic Integer getMinExecutorCount() The minimum number of executors.- Returns:
- the value
 
 - 
getMaxExecutorCountpublic Integer getMaxExecutorCount() The maximum number of executors.- Returns:
- the value
 
 - 
getMetastoreIdpublic String getMetastoreId() The OCID of OCI Hive Metastore.- Returns:
- the value
 
 - 
getLakeIdpublic String getLakeId() The OCID of OCI Lake.- Returns:
- the value
 
 - 
getWarehouseBucketUripublic String getWarehouseBucketUri() 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 - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The description of the SQL Endpoint.- Returns:
- the value
 
 - 
getLastAcceptedRequestTokenpublic String getLastAcceptedRequestToken() This token is used by Splat, and indicates that the service accepts the request, and that the request is currently being processed.- Returns:
- the value
 
 - 
getFreeformTagspublic 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”} - Returns:
- the value
 
 - 
getDefinedTagspublic 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”}} - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() 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}} - Returns:
- the value
 
 - 
getSparkAdvancedConfigurationspublic 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. - Returns:
- the value
 
 - 
getBannerMessagepublic String getBannerMessage() The SQL Endpoint message displayed as a banner to provide user with any action items required on the resource.- Returns:
- the value
 
 - 
getNetworkConfigurationpublic SqlEndpointNetworkConfiguration getNetworkConfiguration() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-