Class DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_cluster.DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocClusterClusterConfigSecurityConfigKerberosConfig>
- Enclosing interface:
- DataprocClusterClusterConfigSecurityConfigKerberosConfig
@Stability(Stable) public static final class DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocClusterClusterConfigSecurityConfigKerberosConfig>
A builder forDataprocClusterClusterConfigSecurityConfigKerberosConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
kmsKeyUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder kmsKeyUri(String kmsKeyUri)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getKmsKeyUri()- Parameters:
kmsKeyUri- The uri of the KMS key used to encrypt various sensitive files. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#kms_key_uri DataprocCluster#kms_key_uri}- Returns:
this
-
rootPrincipalPasswordUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder rootPrincipalPasswordUri(String rootPrincipalPasswordUri)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getRootPrincipalPasswordUri()- Parameters:
rootPrincipalPasswordUri- The cloud Storage URI of a KMS encrypted file containing the root principal password. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#root_principal_password_uri DataprocCluster#root_principal_password_uri}- Returns:
this
-
crossRealmTrustAdminServer
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustAdminServer(String crossRealmTrustAdminServer)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustAdminServer()- Parameters:
crossRealmTrustAdminServer- The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#cross_realm_trust_admin_server DataprocCluster#cross_realm_trust_admin_server}- Returns:
this
-
crossRealmTrustKdc
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustKdc(String crossRealmTrustKdc)
- Parameters:
crossRealmTrustKdc- The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#cross_realm_trust_kdc DataprocCluster#cross_realm_trust_kdc}- Returns:
this
-
crossRealmTrustRealm
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustRealm(String crossRealmTrustRealm)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustRealm()- Parameters:
crossRealmTrustRealm- The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#cross_realm_trust_realm DataprocCluster#cross_realm_trust_realm}- Returns:
this
-
crossRealmTrustSharedPasswordUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustSharedPasswordUri(String crossRealmTrustSharedPasswordUri)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustSharedPasswordUri()- Parameters:
crossRealmTrustSharedPasswordUri- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#cross_realm_trust_shared_password_uri DataprocCluster#cross_realm_trust_shared_password_uri}- Returns:
this
-
enableKerberos
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder enableKerberos(Boolean enableKerberos)
- Parameters:
enableKerberos- Flag to indicate whether to Kerberize the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#enable_kerberos DataprocCluster#enable_kerberos}- Returns:
this
-
enableKerberos
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder enableKerberos(com.hashicorp.cdktf.IResolvable enableKerberos)
- Parameters:
enableKerberos- Flag to indicate whether to Kerberize the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#enable_kerberos DataprocCluster#enable_kerberos}- Returns:
this
-
kdcDbKeyUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder kdcDbKeyUri(String kdcDbKeyUri)
- Parameters:
kdcDbKeyUri- The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#kdc_db_key_uri DataprocCluster#kdc_db_key_uri}- Returns:
this
-
keyPasswordUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder keyPasswordUri(String keyPasswordUri)
- Parameters:
keyPasswordUri- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#key_password_uri DataprocCluster#key_password_uri}- Returns:
this
-
keystorePasswordUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder keystorePasswordUri(String keystorePasswordUri)
- Parameters:
keystorePasswordUri- 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 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#keystore_password_uri DataprocCluster#keystore_password_uri}- Returns:
this
-
keystoreUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder keystoreUri(String keystoreUri)
- Parameters:
keystoreUri- The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#keystore_uri DataprocCluster#keystore_uri}- Returns:
this
-
realm
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder realm(String realm)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getRealm()- Parameters:
realm- The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#realm DataprocCluster#realm}- Returns:
this
-
tgtLifetimeHours
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder tgtLifetimeHours(Number tgtLifetimeHours)
- Parameters:
tgtLifetimeHours- The lifetime of the ticket granting ticket, in hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#tgt_lifetime_hours DataprocCluster#tgt_lifetime_hours}- Returns:
this
-
truststorePasswordUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder truststorePasswordUri(String truststorePasswordUri)
Sets the value ofDataprocClusterClusterConfigSecurityConfigKerberosConfig.getTruststorePasswordUri()- Parameters:
truststorePasswordUri- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#truststore_password_uri DataprocCluster#truststore_password_uri}- Returns:
this
-
truststoreUri
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig.Builder truststoreUri(String truststoreUri)
- Parameters:
truststoreUri- The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#truststore_uri DataprocCluster#truststore_uri}- Returns:
this
-
build
@Stability(Stable) public DataprocClusterClusterConfigSecurityConfigKerberosConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocClusterClusterConfigSecurityConfigKerberosConfig>- Returns:
- a new instance of
DataprocClusterClusterConfigSecurityConfigKerberosConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-