Class DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
crossRealmTrustAdminServer
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustAdminServer(String crossRealmTrustAdminServer)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustAdminServer()- Parameters:
crossRealmTrustAdminServer- Optional. 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_workflow_template#cross_realm_trust_admin_server DataprocWorkflowTemplate#cross_realm_trust_admin_server}- Returns:
this
-
crossRealmTrustKdc
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustKdc(String crossRealmTrustKdc)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustKdc()- Parameters:
crossRealmTrustKdc- Optional. 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_workflow_template#cross_realm_trust_kdc DataprocWorkflowTemplate#cross_realm_trust_kdc}- Returns:
this
-
crossRealmTrustRealm
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustRealm(String crossRealmTrustRealm)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustRealm()- Parameters:
crossRealmTrustRealm- Optional. 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_workflow_template#cross_realm_trust_realm DataprocWorkflowTemplate#cross_realm_trust_realm}- Returns:
this
-
crossRealmTrustSharedPassword
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder crossRealmTrustSharedPassword(String crossRealmTrustSharedPassword)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getCrossRealmTrustSharedPassword()- Parameters:
crossRealmTrustSharedPassword- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#cross_realm_trust_shared_password DataprocWorkflowTemplate#cross_realm_trust_shared_password}- Returns:
this
-
enableKerberos
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder enableKerberos(Boolean enableKerberos)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getEnableKerberos()- Parameters:
enableKerberos- Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#enable_kerberos DataprocWorkflowTemplate#enable_kerberos}- Returns:
this
-
enableKerberos
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder enableKerberos(com.hashicorp.cdktf.IResolvable enableKerberos)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getEnableKerberos()- Parameters:
enableKerberos- Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#enable_kerberos DataprocWorkflowTemplate#enable_kerberos}- Returns:
this
-
kdcDbKey
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder kdcDbKey(String kdcDbKey)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getKdcDbKey()- Parameters:
kdcDbKey- Optional. 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_workflow_template#kdc_db_key DataprocWorkflowTemplate#kdc_db_key}- Returns:
this
-
keyPassword
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder keyPassword(String keyPassword)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getKeyPassword()- Parameters:
keyPassword- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#key_password DataprocWorkflowTemplate#key_password}- Returns:
this
-
keystore
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder keystore(String keystore)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getKeystore()- Parameters:
keystore- Optional. 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_workflow_template#keystore DataprocWorkflowTemplate#keystore}- Returns:
this
-
keystorePassword
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder keystorePassword(String keystorePassword)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getKeystorePassword()- Parameters:
keystorePassword- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#keystore_password DataprocWorkflowTemplate#keystore_password}- Returns:
this
-
kmsKey
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder kmsKey(String kmsKey)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getKmsKey()- Parameters:
kmsKey- Optional. The uri of the KMS key used to encrypt various sensitive files. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#kms_key DataprocWorkflowTemplate#kms_key}- Returns:
this
-
realm
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder realm(String realm)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getRealm()- Parameters:
realm- Optional. 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_workflow_template#realm DataprocWorkflowTemplate#realm}- Returns:
this
-
rootPrincipalPassword
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder rootPrincipalPassword(String rootPrincipalPassword)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getRootPrincipalPassword()- Parameters:
rootPrincipalPassword- Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#root_principal_password DataprocWorkflowTemplate#root_principal_password}- Returns:
this
-
tgtLifetimeHours
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder tgtLifetimeHours(Number tgtLifetimeHours)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getTgtLifetimeHours()- Parameters:
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#tgt_lifetime_hours DataprocWorkflowTemplate#tgt_lifetime_hours}- Returns:
this
-
truststore
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder truststore(String truststore)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getTruststore()- Parameters:
truststore- Optional. 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_workflow_template#truststore DataprocWorkflowTemplate#truststore}- Returns:
this
-
truststorePassword
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.Builder truststorePassword(String truststorePassword)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig.getTruststorePassword()- Parameters:
truststorePassword- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#truststore_password DataprocWorkflowTemplate#truststore_password}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigSecurityConfigKerberosConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-