Class CreateHdfsStorageOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.CreateHdfsStorageOptions.Builder
-
- Enclosing class:
- CreateHdfsStorageOptions
public static class CreateHdfsStorageOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String bucketDisplayName, java.lang.String bucketType, java.lang.String hmsThriftUri, java.lang.Long hmsThriftPort, java.lang.String coreSite, java.lang.String hdfsSite, java.lang.String kerberos, java.lang.String catalogName, java.lang.String catalogType)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHdfsStorageOptions.BuilderauthInstanceId(java.lang.String authInstanceId)Set the authInstanceId.CreateHdfsStorageOptions.BuilderbucketDisplayName(java.lang.String bucketDisplayName)Set the bucketDisplayName.CreateHdfsStorageOptions.BuilderbucketType(java.lang.String bucketType)Set the bucketType.CreateHdfsStorageOptionsbuild()Builds a CreateHdfsStorageOptions.CreateHdfsStorageOptions.BuildercatalogName(java.lang.String catalogName)Set the catalogName.CreateHdfsStorageOptions.BuildercatalogType(java.lang.String catalogType)Set the catalogType.CreateHdfsStorageOptions.BuildercoreSite(java.lang.String coreSite)Set the coreSite.CreateHdfsStorageOptions.BuildercreatedOn(java.lang.String createdOn)Set the createdOn.CreateHdfsStorageOptions.Builderdescription(java.lang.String description)Set the description.CreateHdfsStorageOptions.BuilderhdfsKeytab(java.io.File hdfsKeytab)Set the hdfsKeytab.CreateHdfsStorageOptions.BuilderhdfsKeytab(java.io.InputStream hdfsKeytab)Set the hdfsKeytab.CreateHdfsStorageOptions.BuilderhdfsKeytabContentType(java.lang.String hdfsKeytabContentType)Set the hdfsKeytabContentType.CreateHdfsStorageOptions.BuilderhdfsPrincipal(java.lang.String hdfsPrincipal)Set the hdfsPrincipal.CreateHdfsStorageOptions.BuilderhdfsSite(java.lang.String hdfsSite)Set the hdfsSite.CreateHdfsStorageOptions.BuilderhiveClientPrincipal(java.lang.String hiveClientPrincipal)Set the hiveClientPrincipal.CreateHdfsStorageOptions.BuilderhiveKeytab(java.io.File hiveKeytab)Set the hiveKeytab.CreateHdfsStorageOptions.BuilderhiveKeytab(java.io.InputStream hiveKeytab)Set the hiveKeytab.CreateHdfsStorageOptions.BuilderhiveKeytabContentType(java.lang.String hiveKeytabContentType)Set the hiveKeytabContentType.CreateHdfsStorageOptions.BuilderhiveServerPrincipal(java.lang.String hiveServerPrincipal)Set the hiveServerPrincipal.CreateHdfsStorageOptions.BuilderhmsThriftPort(long hmsThriftPort)Set the hmsThriftPort.CreateHdfsStorageOptions.BuilderhmsThriftUri(java.lang.String hmsThriftUri)Set the hmsThriftUri.CreateHdfsStorageOptions.Builderkerberos(java.lang.String kerberos)Set the kerberos.CreateHdfsStorageOptions.Builderkrb5Config(java.lang.String krb5Config)Set the krb5Config.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String bucketDisplayName, java.lang.String bucketType, java.lang.String hmsThriftUri, java.lang.Long hmsThriftPort, java.lang.String coreSite, java.lang.String hdfsSite, java.lang.String kerberos, java.lang.String catalogName, java.lang.String catalogType)Instantiates a new builder with required properties.- Parameters:
bucketDisplayName- the bucketDisplayNamebucketType- the bucketTypehmsThriftUri- the hmsThriftUrihmsThriftPort- the hmsThriftPortcoreSite- the coreSitehdfsSite- the hdfsSitekerberos- the kerberoscatalogName- the catalogNamecatalogType- the catalogType
-
-
Method Detail
-
build
public CreateHdfsStorageOptions build()
Builds a CreateHdfsStorageOptions.- Returns:
- the new CreateHdfsStorageOptions instance
-
bucketDisplayName
public CreateHdfsStorageOptions.Builder bucketDisplayName(java.lang.String bucketDisplayName)
Set the bucketDisplayName.- Parameters:
bucketDisplayName- the bucketDisplayName- Returns:
- the CreateHdfsStorageOptions builder
-
bucketType
public CreateHdfsStorageOptions.Builder bucketType(java.lang.String bucketType)
Set the bucketType.- Parameters:
bucketType- the bucketType- Returns:
- the CreateHdfsStorageOptions builder
-
hmsThriftUri
public CreateHdfsStorageOptions.Builder hmsThriftUri(java.lang.String hmsThriftUri)
Set the hmsThriftUri.- Parameters:
hmsThriftUri- the hmsThriftUri- Returns:
- the CreateHdfsStorageOptions builder
-
hmsThriftPort
public CreateHdfsStorageOptions.Builder hmsThriftPort(long hmsThriftPort)
Set the hmsThriftPort.- Parameters:
hmsThriftPort- the hmsThriftPort- Returns:
- the CreateHdfsStorageOptions builder
-
coreSite
public CreateHdfsStorageOptions.Builder coreSite(java.lang.String coreSite)
Set the coreSite.- Parameters:
coreSite- the coreSite- Returns:
- the CreateHdfsStorageOptions builder
-
hdfsSite
public CreateHdfsStorageOptions.Builder hdfsSite(java.lang.String hdfsSite)
Set the hdfsSite.- Parameters:
hdfsSite- the hdfsSite- Returns:
- the CreateHdfsStorageOptions builder
-
kerberos
public CreateHdfsStorageOptions.Builder kerberos(java.lang.String kerberos)
Set the kerberos.- Parameters:
kerberos- the kerberos- Returns:
- the CreateHdfsStorageOptions builder
-
catalogName
public CreateHdfsStorageOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName- the catalogName- Returns:
- the CreateHdfsStorageOptions builder
-
catalogType
public CreateHdfsStorageOptions.Builder catalogType(java.lang.String catalogType)
Set the catalogType.- Parameters:
catalogType- the catalogType- Returns:
- the CreateHdfsStorageOptions builder
-
krb5Config
public CreateHdfsStorageOptions.Builder krb5Config(java.lang.String krb5Config)
Set the krb5Config.- Parameters:
krb5Config- the krb5Config- Returns:
- the CreateHdfsStorageOptions builder
-
hiveKeytab
public CreateHdfsStorageOptions.Builder hiveKeytab(java.io.InputStream hiveKeytab)
Set the hiveKeytab.- Parameters:
hiveKeytab- the hiveKeytab- Returns:
- the CreateHdfsStorageOptions builder
-
hiveKeytabContentType
public CreateHdfsStorageOptions.Builder hiveKeytabContentType(java.lang.String hiveKeytabContentType)
Set the hiveKeytabContentType.- Parameters:
hiveKeytabContentType- the hiveKeytabContentType- Returns:
- the CreateHdfsStorageOptions builder
-
hdfsKeytab
public CreateHdfsStorageOptions.Builder hdfsKeytab(java.io.InputStream hdfsKeytab)
Set the hdfsKeytab.- Parameters:
hdfsKeytab- the hdfsKeytab- Returns:
- the CreateHdfsStorageOptions builder
-
hdfsKeytabContentType
public CreateHdfsStorageOptions.Builder hdfsKeytabContentType(java.lang.String hdfsKeytabContentType)
Set the hdfsKeytabContentType.- Parameters:
hdfsKeytabContentType- the hdfsKeytabContentType- Returns:
- the CreateHdfsStorageOptions builder
-
hiveServerPrincipal
public CreateHdfsStorageOptions.Builder hiveServerPrincipal(java.lang.String hiveServerPrincipal)
Set the hiveServerPrincipal.- Parameters:
hiveServerPrincipal- the hiveServerPrincipal- Returns:
- the CreateHdfsStorageOptions builder
-
hiveClientPrincipal
public CreateHdfsStorageOptions.Builder hiveClientPrincipal(java.lang.String hiveClientPrincipal)
Set the hiveClientPrincipal.- Parameters:
hiveClientPrincipal- the hiveClientPrincipal- Returns:
- the CreateHdfsStorageOptions builder
-
hdfsPrincipal
public CreateHdfsStorageOptions.Builder hdfsPrincipal(java.lang.String hdfsPrincipal)
Set the hdfsPrincipal.- Parameters:
hdfsPrincipal- the hdfsPrincipal- Returns:
- the CreateHdfsStorageOptions builder
-
description
public CreateHdfsStorageOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the CreateHdfsStorageOptions builder
-
createdOn
public CreateHdfsStorageOptions.Builder createdOn(java.lang.String createdOn)
Set the createdOn.- Parameters:
createdOn- the createdOn- Returns:
- the CreateHdfsStorageOptions builder
-
authInstanceId
public CreateHdfsStorageOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId- the authInstanceId- Returns:
- the CreateHdfsStorageOptions builder
-
hiveKeytab
public CreateHdfsStorageOptions.Builder hiveKeytab(java.io.File hiveKeytab) throws java.io.FileNotFoundException
Set the hiveKeytab.- Parameters:
hiveKeytab- the hiveKeytab- Returns:
- the CreateHdfsStorageOptions builder
- Throws:
java.io.FileNotFoundException- if the file could not be found
-
hdfsKeytab
public CreateHdfsStorageOptions.Builder hdfsKeytab(java.io.File hdfsKeytab) throws java.io.FileNotFoundException
Set the hdfsKeytab.- Parameters:
hdfsKeytab- the hdfsKeytab- Returns:
- the CreateHdfsStorageOptions builder
- Throws:
java.io.FileNotFoundException- if the file could not be found
-
-