target.apidocs.com.google.api.services.dataproc.model.EncryptionConfig.html Maven / Gradle / Ivy
EncryptionConfig (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class EncryptionConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.EncryptionConfig
-
public final class EncryptionConfig
extends com.google.api.client.json.GenericJson
Encryption settings for the cluster.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
EncryptionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
EncryptionConfig
clone()
String
getGcePdKmsKeyName()
Optional.
String
getKmsKey()
Optional.
EncryptionConfig
set(String fieldName,
Object value)
EncryptionConfig
setGcePdKmsKeyName(String gcePdKmsKeyName)
Optional.
EncryptionConfig
setKmsKey(String kmsKey)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getGcePdKmsKeyName
public String getGcePdKmsKeyName()
Optional. The Cloud KMS key resource name to use for persistent disk encryption for all
instances in the cluster. See Use CMEK with cluster data
(https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-
encryption#use_cmek_with_cluster_data) for more information.
- Returns:
- value or
null
for none
-
setGcePdKmsKeyName
public EncryptionConfig setGcePdKmsKeyName(String gcePdKmsKeyName)
Optional. The Cloud KMS key resource name to use for persistent disk encryption for all
instances in the cluster. See Use CMEK with cluster data
(https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-
encryption#use_cmek_with_cluster_data) for more information.
- Parameters:
gcePdKmsKeyName
- gcePdKmsKeyName or null
for none
-
getKmsKey
public String getKmsKey()
Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument
encryption. See Use CMEK with cluster data
(https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-
encryption#use_cmek_with_cluster_data) for more information.When this key resource name is
provided, the following job arguments of the following job types submitted to the cluster are
encrypted using CMEK: FlinkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and
queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob)
scriptVariables and queryList.queries PigJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and
queryList.queries PrestoJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and
queryList.queries
- Returns:
- value or
null
for none
-
setKmsKey
public EncryptionConfig setKmsKey(String kmsKey)
Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument
encryption. See Use CMEK with cluster data
(https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-
encryption#use_cmek_with_cluster_data) for more information.When this key resource name is
provided, the following job arguments of the following job types submitted to the cluster are
encrypted using CMEK: FlinkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and
queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob)
scriptVariables and queryList.queries PigJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and
queryList.queries PrestoJob
(https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and
queryList.queries
- Parameters:
kmsKey
- kmsKey or null
for none
-
set
public EncryptionConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public EncryptionConfig clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy