Class SparkConnection
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.Connection
-
- com.oracle.bmc.goldengate.model.SparkConnection
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class SparkConnection extends ConnectionRepresents the metadata of a Spark Connection.
Note: Objects should always be created or deserialized using theSparkConnection.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 theSparkConnection.Builder, which maintain a set of all explicitly set fields calledSparkConnection.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 classSparkConnection.AuthenticationTypeAuthentication type for Spark.static classSparkConnection.Builderstatic classSparkConnection.KeyStoreTypeClient key store format used for mutual TLS.static classSparkConnection.RpcCipherCipher transform used for Spark RPC encryption.static classSparkConnection.SecurityProtocolSecurity protocol for Spark submission traffic.static classSparkConnection.SubmitModeSubmission channel used to connect to Spark.static classSparkConnection.TechnologyTypeThe Spark technology type.static classSparkConnection.TlsProtocolTLS protocol negotiated by the Spark client.static classSparkConnection.TrustStoreTypeTrust store format used by the Spark client.-
Nested classes/interfaces inherited from class com.oracle.bmc.goldengate.model.Connection
Connection.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description SparkConnection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes, SparkConnection.TechnologyType technologyType, SparkConnection.SubmitMode submitMode, SparkConnection.AuthenticationType authenticationType, SparkConnection.SecurityProtocol securityProtocol, String clusterEndpoint, String restEndpoint, String authSecretSecretId, SparkConnection.RpcCipher rpcCipher, String restAuthSecretKeySecretId, String trustStoreSecretId, String trustStorePasswordSecretId, SparkConnection.TrustStoreType trustStoreType, String keyStoreSecretId, String keyStorePasswordSecretId, SparkConnection.KeyStoreType keyStoreType, String sslKeyPasswordSecretId, SparkConnection.TlsProtocol tlsProtocol, SparkArtifactLocation artifactLocation)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SparkConnection.Builderbuilder()Create a new builder.booleanequals(Object o)SparkArtifactLocationgetArtifactLocation()SparkConnection.AuthenticationTypegetAuthenticationType()Authentication type for Spark.StringgetAuthSecretSecretId()The OCID of the Secret that stores the Spark authentication shared secret.StringgetClusterEndpoint()Spark master URL used for job submission.StringgetKeyStorePasswordSecretId()The OCID of the Secret that stores the client key store password.StringgetKeyStoreSecretId()The OCID of the Secret that stores the client key store content.SparkConnection.KeyStoreTypegetKeyStoreType()Client key store format used for mutual TLS.StringgetRestAuthSecretKeySecretId()The OCID of the Secret that stores the REST submission signing key.StringgetRestEndpoint()Spark standalone REST submission base URL.SparkConnection.RpcCiphergetRpcCipher()Cipher transform used for Spark RPC encryption.SparkConnection.SecurityProtocolgetSecurityProtocol()Security protocol for Spark submission traffic.StringgetSslKeyPasswordSecretId()The OCID of the Secret that stores the private key password.SparkConnection.SubmitModegetSubmitMode()Submission channel used to connect to Spark.SparkConnection.TechnologyTypegetTechnologyType()The Spark technology type.SparkConnection.TlsProtocolgetTlsProtocol()TLS protocol negotiated by the Spark client.StringgetTrustStorePasswordSecretId()The OCID of the Secret that stores the trust store password.StringgetTrustStoreSecretId()The OCID of the Secret that stores the trust store content.SparkConnection.TrustStoreTypegetTrustStoreType()Trust store format used by the Spark client.inthashCode()SparkConnection.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.goldengate.model.Connection
getClusterPlacementGroupId, getCompartmentId, getDefinedTags, getDescription, getDisplayName, getDoesUseSecretIds, getFreeformTags, getId, getIngressIps, getKeyId, getLifecycleDetails, getLifecycleState, getLocks, getNsgIds, getRoutingMethod, getSecurityAttributes, getSubnetId, getSubscriptionId, getSystemTags, getTimeCreated, getTimeUpdated, getVaultId
-
-
-
-
Constructor Detail
-
SparkConnection
@Deprecated public SparkConnection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes, SparkConnection.TechnologyType technologyType, SparkConnection.SubmitMode submitMode, SparkConnection.AuthenticationType authenticationType, SparkConnection.SecurityProtocol securityProtocol, String clusterEndpoint, String restEndpoint, String authSecretSecretId, SparkConnection.RpcCipher rpcCipher, String restAuthSecretKeySecretId, String trustStoreSecretId, String trustStorePasswordSecretId, SparkConnection.TrustStoreType trustStoreType, String keyStoreSecretId, String keyStorePasswordSecretId, SparkConnection.KeyStoreType keyStoreType, String sslKeyPasswordSecretId, SparkConnection.TlsProtocol tlsProtocol, SparkArtifactLocation artifactLocation)
Deprecated.
-
-
Method Detail
-
builder
public static SparkConnection.Builder builder()
Create a new builder.
-
toBuilder
public SparkConnection.Builder toBuilder()
-
getTechnologyType
public SparkConnection.TechnologyType getTechnologyType()
The Spark technology type.- Returns:
- the value
-
getSubmitMode
public SparkConnection.SubmitMode getSubmitMode()
Submission channel used to connect to Spark.- Returns:
- the value
-
getAuthenticationType
public SparkConnection.AuthenticationType getAuthenticationType()
Authentication type for Spark.- Returns:
- the value
-
getSecurityProtocol
public SparkConnection.SecurityProtocol getSecurityProtocol()
Security protocol for Spark submission traffic.- Returns:
- the value
-
getClusterEndpoint
public String getClusterEndpoint()
Spark master URL used for job submission.Required for both submitMode SUBMIT and REST. e.g.: ‘spark://spark-master.example.com:7077’ High availability can be configured with a comma-separated list, for example: ‘spark://h1.example.com:7077,h2.example.com:7077’
- Returns:
- the value
-
getRestEndpoint
public String getRestEndpoint()
Spark standalone REST submission base URL.e.g.: ‘https://spark-master.example.com:6066’ Applicable only and required when submitMode is REST.
- Returns:
- the value
-
getAuthSecretSecretId
public String getAuthSecretSecretId()
The OCID of the Secret that stores the Spark authentication shared secret.Applicable when authenticationType is SHARED_SECRET. Note: When provided, ‘authSecret’ field must not be provided.
- Returns:
- the value
-
getRpcCipher
public SparkConnection.RpcCipher getRpcCipher()
Cipher transform used for Spark RPC encryption.Applicable when securityProtocol is AES_RPC.
- Returns:
- the value
-
getRestAuthSecretKeySecretId
public String getRestAuthSecretKeySecretId()
The OCID of the Secret that stores the REST submission signing key.Applicable only when submitMode is REST and the cluster enforces REST request signing. This setting is independent of authenticationType. Note: When provided, ‘restAuthSecretKey’ field must not be provided.
- Returns:
- the value
-
getTrustStoreSecretId
public String getTrustStoreSecretId()
The OCID of the Secret that stores the trust store content.Applicable when securityProtocol is TLS. Provide this when the server certificate is not already trusted by the JVM. Note: When provided, ‘trustStore’ field must not be provided.
- Returns:
- the value
-
getTrustStorePasswordSecretId
public String getTrustStorePasswordSecretId()
The OCID of the Secret that stores the trust store password.Applicable when securityProtocol is TLS and a trust store is provided. Required when ‘trustStoreSecretId’ is provided. Note: When provided, ‘trustStorePassword’ field must not be provided.
- Returns:
- the value
-
getTrustStoreType
public SparkConnection.TrustStoreType getTrustStoreType()
Trust store format used by the Spark client.- Returns:
- the value
-
getKeyStoreSecretId
public String getKeyStoreSecretId()
The OCID of the Secret that stores the client key store content.Applicable when securityProtocol is TLS. Note: When provided, ‘keyStore’ field must not be provided.
- Returns:
- the value
-
getKeyStorePasswordSecretId
public String getKeyStorePasswordSecretId()
The OCID of the Secret that stores the client key store password.Applicable when securityProtocol is TLS and a client key store is provided. Required when ‘keyStoreSecretId’ is provided. Note: When provided, ‘keyStorePassword’ field must not be provided.
- Returns:
- the value
-
getKeyStoreType
public SparkConnection.KeyStoreType getKeyStoreType()
Client key store format used for mutual TLS.- Returns:
- the value
-
getSslKeyPasswordSecretId
public String getSslKeyPasswordSecretId()
The OCID of the Secret that stores the private key password.Applicable when securityProtocol is TLS and a client key store is provided. Note: When provided, ‘sslKeyPassword’ field must not be provided.
- Returns:
- the value
-
getTlsProtocol
public SparkConnection.TlsProtocol getTlsProtocol()
TLS protocol negotiated by the Spark client.- Returns:
- the value
-
getArtifactLocation
public SparkArtifactLocation getArtifactLocation()
-
toString
public String toString()
- Overrides:
toStringin classConnection
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classConnection- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classConnection
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConnection
-
-