Class RegisterBucketOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.RegisterBucketOptions.Builder
-
- Enclosing class:
- RegisterBucketOptions
public static class RegisterBucketOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(BucketDetails bucketDetails, java.lang.String description, java.lang.String tableType, java.lang.String bucketType, java.lang.String catalogName, java.lang.String managedBy)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterBucketOptions.Builder
addBucketTags(java.lang.String bucketTags)
Adds an bucketTags to bucketTags.RegisterBucketOptions.Builder
addCatalogTags(java.lang.String catalogTags)
Adds an catalogTags to catalogTags.RegisterBucketOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.RegisterBucketOptions.Builder
bucketDetails(BucketDetails bucketDetails)
Set the bucketDetails.RegisterBucketOptions.Builder
bucketDisplayName(java.lang.String bucketDisplayName)
Set the bucketDisplayName.RegisterBucketOptions.Builder
bucketTags(java.util.List<java.lang.String> bucketTags)
Set the bucketTags.RegisterBucketOptions.Builder
bucketType(java.lang.String bucketType)
Set the bucketType.RegisterBucketOptions
build()
Builds a RegisterBucketOptions.RegisterBucketOptions.Builder
catalogName(java.lang.String catalogName)
Set the catalogName.RegisterBucketOptions.Builder
catalogTags(java.util.List<java.lang.String> catalogTags)
Set the catalogTags.RegisterBucketOptions.Builder
description(java.lang.String description)
Set the description.RegisterBucketOptions.Builder
managedBy(java.lang.String managedBy)
Set the managedBy.RegisterBucketOptions.Builder
tableType(java.lang.String tableType)
Set the tableType.RegisterBucketOptions.Builder
thriftUri(java.lang.String thriftUri)
Set the thriftUri.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(BucketDetails bucketDetails, java.lang.String description, java.lang.String tableType, java.lang.String bucketType, java.lang.String catalogName, java.lang.String managedBy)
Instantiates a new builder with required properties.- Parameters:
bucketDetails
- the bucketDetailsdescription
- the descriptiontableType
- the tableTypebucketType
- the bucketTypecatalogName
- the catalogNamemanagedBy
- the managedBy
-
-
Method Detail
-
build
public RegisterBucketOptions build()
Builds a RegisterBucketOptions.- Returns:
- the new RegisterBucketOptions instance
-
addBucketTags
public RegisterBucketOptions.Builder addBucketTags(java.lang.String bucketTags)
Adds an bucketTags to bucketTags.- Parameters:
bucketTags
- the new bucketTags- Returns:
- the RegisterBucketOptions builder
-
addCatalogTags
public RegisterBucketOptions.Builder addCatalogTags(java.lang.String catalogTags)
Adds an catalogTags to catalogTags.- Parameters:
catalogTags
- the new catalogTags- Returns:
- the RegisterBucketOptions builder
-
bucketDetails
public RegisterBucketOptions.Builder bucketDetails(BucketDetails bucketDetails)
Set the bucketDetails.- Parameters:
bucketDetails
- the bucketDetails- Returns:
- the RegisterBucketOptions builder
-
description
public RegisterBucketOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the RegisterBucketOptions builder
-
tableType
public RegisterBucketOptions.Builder tableType(java.lang.String tableType)
Set the tableType.- Parameters:
tableType
- the tableType- Returns:
- the RegisterBucketOptions builder
-
bucketType
public RegisterBucketOptions.Builder bucketType(java.lang.String bucketType)
Set the bucketType.- Parameters:
bucketType
- the bucketType- Returns:
- the RegisterBucketOptions builder
-
catalogName
public RegisterBucketOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName
- the catalogName- Returns:
- the RegisterBucketOptions builder
-
managedBy
public RegisterBucketOptions.Builder managedBy(java.lang.String managedBy)
Set the managedBy.- Parameters:
managedBy
- the managedBy- Returns:
- the RegisterBucketOptions builder
-
bucketDisplayName
public RegisterBucketOptions.Builder bucketDisplayName(java.lang.String bucketDisplayName)
Set the bucketDisplayName.- Parameters:
bucketDisplayName
- the bucketDisplayName- Returns:
- the RegisterBucketOptions builder
-
bucketTags
public RegisterBucketOptions.Builder bucketTags(java.util.List<java.lang.String> bucketTags)
Set the bucketTags. Existing bucketTags will be replaced.- Parameters:
bucketTags
- the bucketTags- Returns:
- the RegisterBucketOptions builder
-
catalogTags
public RegisterBucketOptions.Builder catalogTags(java.util.List<java.lang.String> catalogTags)
Set the catalogTags. Existing catalogTags will be replaced.- Parameters:
catalogTags
- the catalogTags- Returns:
- the RegisterBucketOptions builder
-
thriftUri
public RegisterBucketOptions.Builder thriftUri(java.lang.String thriftUri)
Set the thriftUri.- Parameters:
thriftUri
- the thriftUri- Returns:
- the RegisterBucketOptions builder
-
authInstanceId
public RegisterBucketOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the RegisterBucketOptions builder
-
-