Class DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig>
- Enclosing interface:
- DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig
@Stability(Stable) public static final class DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocMetastoreServiceHiveMetastoreConfigKerberosConfigbuild()Builds the configured instance.DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builderkeytab(DataprocMetastoreServiceHiveMetastoreConfigKerberosConfigKeytab keytab)Sets the value ofDataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.getKeytab()DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builderkrb5ConfigGcsUri(String krb5ConfigGcsUri)DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builderprincipal(String principal)Sets the value ofDataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.getPrincipal()
-
-
-
Method Detail
-
keytab
@Stability(Stable) public DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder keytab(DataprocMetastoreServiceHiveMetastoreConfigKerberosConfigKeytab keytab)
Sets the value ofDataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.getKeytab()- Parameters:
keytab- keytab block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#keytab DataprocMetastoreService#keytab}- Returns:
this
-
krb5ConfigGcsUri
@Stability(Stable) public DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder krb5ConfigGcsUri(String krb5ConfigGcsUri)
- Parameters:
krb5ConfigGcsUri- A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#krb5_config_gcs_uri DataprocMetastoreService#krb5_config_gcs_uri}- Returns:
this
-
principal
@Stability(Stable) public DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.Builder principal(String principal)
Sets the value ofDataprocMetastoreServiceHiveMetastoreConfigKerberosConfig.getPrincipal()- Parameters:
principal- A Kerberos principal that exists in the both the keytab the KDC to authenticate as. This parameter is required. A typical principal is of the form "primary/instance@REALM", but there is no exact format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#principal DataprocMetastoreService#principal}- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig>- Returns:
- a new instance of
DataprocMetastoreServiceHiveMetastoreConfigKerberosConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-