Class CreateSqlEndpointDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataflow.model.CreateSqlEndpointDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public final class CreateSqlEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe information about a new SQL Endpoint.
Note: Objects should always be created or deserialized using theCreateSqlEndpointDetails.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 theCreateSqlEndpointDetails.Builder, which maintain a set of all explicitly set fields calledCreateSqlEndpointDetails.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 Summary
Nested Classes Modifier and Type Class Description static classCreateSqlEndpointDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateSqlEndpointDetails(String compartmentId, String displayName, String description, String sqlEndpointVersion, String driverShape, ShapeConfig driverShapeConfig, String executorShape, ShapeConfig executorShapeConfig, Integer minExecutorCount, Integer maxExecutorCount, String metastoreId, String lakeId, String warehouseBucketUri, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,String> sparkAdvancedConfigurations, SqlEndpointNetworkConfiguration networkConfiguration, String logGroupId, String logCompartmentId, String logDisplayName, Integer logRetentionDuration)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSqlEndpointDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The identifier of the compartment used with the SQL Endpoint.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()The description of CreateSQLEndpointDetails.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 worker instance.ShapeConfiggetExecutorShapeConfig()Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetLakeId()OCI lake OCIDStringgetLogCompartmentId()The identifier of the log group compartment used with the SQL Endpoint.StringgetLogDisplayName()The friendly name of the log object used with the SQL Endpoint.StringgetLogGroupId()The identifier of the log group used with the SQL Endpoint.IntegergetLogRetentionDuration()Log retention duration in daysIntegergetMaxExecutorCount()The maximum number of executors.StringgetMetastoreId()Metastore OCIDIntegergetMinExecutorCount()The minimum number of executors.SqlEndpointNetworkConfigurationgetNetworkConfiguration()Map<String,String>getSparkAdvancedConfigurations()The Spark configuration passed to the running process.StringgetSqlEndpointVersion()The version of the SQL Endpoint.StringgetWarehouseBucketUri()The warehouse bucket URI.inthashCode()CreateSqlEndpointDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateSqlEndpointDetails
@Deprecated @ConstructorProperties({"compartmentId","displayName","description","sqlEndpointVersion","driverShape","driverShapeConfig","executorShape","executorShapeConfig","minExecutorCount","maxExecutorCount","metastoreId","lakeId","warehouseBucketUri","freeformTags","definedTags","sparkAdvancedConfigurations","networkConfiguration","logGroupId","logCompartmentId","logDisplayName","logRetentionDuration"}) public CreateSqlEndpointDetails(String compartmentId, String displayName, String description, String sqlEndpointVersion, String driverShape, ShapeConfig driverShapeConfig, String executorShape, ShapeConfig executorShapeConfig, Integer minExecutorCount, Integer maxExecutorCount, String metastoreId, String lakeId, String warehouseBucketUri, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,String> sparkAdvancedConfigurations, SqlEndpointNetworkConfiguration networkConfiguration, String logGroupId, String logCompartmentId, String logDisplayName, Integer logRetentionDuration)
Deprecated.
-
-
Method Detail
-
builder
public static CreateSqlEndpointDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateSqlEndpointDetails.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
The identifier of the compartment used with the SQL Endpoint.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The SQL Endpoint name, which can be changed.- Returns:
- the value
-
getDescription
public String getDescription()
The description of CreateSQLEndpointDetails.- Returns:
- the value
-
getSqlEndpointVersion
public String getSqlEndpointVersion()
The version of the SQL Endpoint.- Returns:
- the value
-
getDriverShape
public String getDriverShape()
The shape of the SQL Endpoint driver instance.- Returns:
- the value
-
getDriverShapeConfig
public ShapeConfig getDriverShapeConfig()
-
getExecutorShape
public String getExecutorShape()
The shape of the SQL Endpoint worker instance.- Returns:
- the value
-
getExecutorShapeConfig
public ShapeConfig getExecutorShapeConfig()
-
getMinExecutorCount
public Integer getMinExecutorCount()
The minimum number of executors.- Returns:
- the value
-
getMaxExecutorCount
public Integer getMaxExecutorCount()
The maximum number of executors.- Returns:
- the value
-
getMetastoreId
public String getMetastoreId()
Metastore OCID- Returns:
- the value
-
getLakeId
public String getLakeId()
OCI lake OCID- Returns:
- the value
-
getWarehouseBucketUri
public 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
-
getFreeformTags
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”}
- Returns:
- the value
-
getDefinedTags
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”}}
- Returns:
- the value
-
getSparkAdvancedConfigurations
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.
- Returns:
- the value
-
getNetworkConfiguration
public SqlEndpointNetworkConfiguration getNetworkConfiguration()
-
getLogGroupId
public String getLogGroupId()
The identifier of the log group used with the SQL Endpoint.- Returns:
- the value
-
getLogCompartmentId
public String getLogCompartmentId()
The identifier of the log group compartment used with the SQL Endpoint.- Returns:
- the value
-
getLogDisplayName
public String getLogDisplayName()
The friendly name of the log object used with the SQL Endpoint.- Returns:
- the value
-
getLogRetentionDuration
public Integer getLogRetentionDuration()
Log retention duration in days- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-