target.apidocs.com.google.api.services.dataproc.model.KerberosConfig.html Maven / Gradle / Ivy
KerberosConfig (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class KerberosConfig
- 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.KerberosConfig
-
public final class KerberosConfig
extends com.google.api.client.json.GenericJson
Specifies Kerberos related configuration.
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
KerberosConfig()
-
Method Summary
-
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
-
getCrossRealmTrustAdminServer
public String getCrossRealmTrustAdminServer()
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust
relationship.
- Returns:
- value or
null
for none
-
setCrossRealmTrustAdminServer
public KerberosConfig setCrossRealmTrustAdminServer(String crossRealmTrustAdminServer)
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust
relationship.
- Parameters:
crossRealmTrustAdminServer
- crossRealmTrustAdminServer or null
for none
-
getCrossRealmTrustKdc
public String getCrossRealmTrustKdc()
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust
relationship.
- Returns:
- value or
null
for none
-
setCrossRealmTrustKdc
public KerberosConfig setCrossRealmTrustKdc(String crossRealmTrustKdc)
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust
relationship.
- Parameters:
crossRealmTrustKdc
- crossRealmTrustKdc or null
for none
-
getCrossRealmTrustRealm
public String getCrossRealmTrustRealm()
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross
realm trust.
- Returns:
- value or
null
for none
-
setCrossRealmTrustRealm
public KerberosConfig setCrossRealmTrustRealm(String crossRealmTrustRealm)
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross
realm trust.
- Parameters:
crossRealmTrustRealm
- crossRealmTrustRealm or null
for none
-
getCrossRealmTrustSharedPasswordUri
public String getCrossRealmTrustSharedPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between
the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust
relationship.
- Returns:
- value or
null
for none
-
setCrossRealmTrustSharedPasswordUri
public KerberosConfig setCrossRealmTrustSharedPasswordUri(String crossRealmTrustSharedPasswordUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between
the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust
relationship.
- Parameters:
crossRealmTrustSharedPasswordUri
- crossRealmTrustSharedPasswordUri or null
for none
-
getEnableKerberos
public Boolean getEnableKerberos()
Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to
true to enable Kerberos on a cluster.
- Returns:
- value or
null
for none
-
setEnableKerberos
public KerberosConfig setEnableKerberos(Boolean enableKerberos)
Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to
true to enable Kerberos on a cluster.
- Parameters:
enableKerberos
- enableKerberos or null
for none
-
getKdcDbKeyUri
public String getKdcDbKeyUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC
database.
- Returns:
- value or
null
for none
-
setKdcDbKeyUri
public KerberosConfig setKdcDbKeyUri(String kdcDbKeyUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC
database.
- Parameters:
kdcDbKeyUri
- kdcDbKeyUri or null
for none
-
getKeyPasswordUri
public String getKeyPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided key. For the self-signed certificate, this password is generated by Dataproc.
- Returns:
- value or
null
for none
-
setKeyPasswordUri
public KerberosConfig setKeyPasswordUri(String keyPasswordUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided key. For the self-signed certificate, this password is generated by Dataproc.
- Parameters:
keyPasswordUri
- keyPasswordUri or null
for none
-
getKeystorePasswordUri
public String getKeystorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided keystore. For the self-signed certificate, this password is generated by Dataproc.
- Returns:
- value or
null
for none
-
setKeystorePasswordUri
public KerberosConfig setKeystorePasswordUri(String keystorePasswordUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided keystore. For the self-signed certificate, this password is generated by Dataproc.
- Parameters:
keystorePasswordUri
- keystorePasswordUri or null
for none
-
getKeystoreUri
public String getKeystoreUri()
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided,
Dataproc will provide a self-signed certificate.
- Returns:
- value or
null
for none
-
setKeystoreUri
public KerberosConfig setKeystoreUri(String keystoreUri)
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided,
Dataproc will provide a self-signed certificate.
- Parameters:
keystoreUri
- keystoreUri or null
for none
-
getKmsKeyUri
public String getKmsKeyUri()
Optional. The URI of the KMS key used to encrypt sensitive files.
- Returns:
- value or
null
for none
-
setKmsKeyUri
public KerberosConfig setKmsKeyUri(String kmsKeyUri)
Optional. The URI of the KMS key used to encrypt sensitive files.
- Parameters:
kmsKeyUri
- kmsKeyUri or null
for none
-
getRealm
public String getRealm()
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of
hostnames will be the realm.
- Returns:
- value or
null
for none
-
setRealm
public KerberosConfig setRealm(String realm)
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of
hostnames will be the realm.
- Parameters:
realm
- realm or null
for none
-
getRootPrincipalPasswordUri
public String getRootPrincipalPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
- Returns:
- value or
null
for none
-
setRootPrincipalPasswordUri
public KerberosConfig setRootPrincipalPasswordUri(String rootPrincipalPasswordUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
- Parameters:
rootPrincipalPasswordUri
- rootPrincipalPasswordUri or null
for none
-
getTgtLifetimeHours
public Integer getTgtLifetimeHours()
Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user
specifies 0, then default value 10 will be used.
- Returns:
- value or
null
for none
-
setTgtLifetimeHours
public KerberosConfig setTgtLifetimeHours(Integer tgtLifetimeHours)
Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user
specifies 0, then default value 10 will be used.
- Parameters:
tgtLifetimeHours
- tgtLifetimeHours or null
for none
-
getTruststorePasswordUri
public String getTruststorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided truststore. For the self-signed certificate, this password is generated by Dataproc.
- Returns:
- value or
null
for none
-
setTruststorePasswordUri
public KerberosConfig setTruststorePasswordUri(String truststorePasswordUri)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user
provided truststore. For the self-signed certificate, this password is generated by Dataproc.
- Parameters:
truststorePasswordUri
- truststorePasswordUri or null
for none
-
getTruststoreUri
public String getTruststoreUri()
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not
provided, Dataproc will provide a self-signed certificate.
- Returns:
- value or
null
for none
-
setTruststoreUri
public KerberosConfig setTruststoreUri(String truststoreUri)
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not
provided, Dataproc will provide a self-signed certificate.
- Parameters:
truststoreUri
- truststoreUri or null
for none
-
set
public KerberosConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public KerberosConfig 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