Class DeleteMetastoreUsersOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.DeleteMetastoreUsersOptions.Builder
-
- Enclosing class:
- DeleteMetastoreUsersOptions
public static class DeleteMetastoreUsersOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteMetastoreUsersOptions.Builder
addGroups(java.lang.String groups)
Adds an groups to groups.DeleteMetastoreUsersOptions.Builder
addUsers(java.lang.String users)
Adds an users to users.DeleteMetastoreUsersOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.DeleteMetastoreUsersOptions
build()
Builds a DeleteMetastoreUsersOptions.DeleteMetastoreUsersOptions.Builder
groups(java.util.List<java.lang.String> groups)
Set the groups.DeleteMetastoreUsersOptions.Builder
lhInstanceId(java.lang.String lhInstanceId)
Set the lhInstanceId.DeleteMetastoreUsersOptions.Builder
metastoreName(java.lang.String metastoreName)
Set the metastoreName.DeleteMetastoreUsersOptions.Builder
users(java.util.List<java.lang.String> users)
Set the users.
-
-
-
Method Detail
-
build
public DeleteMetastoreUsersOptions build()
Builds a DeleteMetastoreUsersOptions.- Returns:
- the new DeleteMetastoreUsersOptions instance
-
addGroups
public DeleteMetastoreUsersOptions.Builder addGroups(java.lang.String groups)
Adds an groups to groups.- Parameters:
groups
- the new groups- Returns:
- the DeleteMetastoreUsersOptions builder
-
addUsers
public DeleteMetastoreUsersOptions.Builder addUsers(java.lang.String users)
Adds an users to users.- Parameters:
users
- the new users- Returns:
- the DeleteMetastoreUsersOptions builder
-
metastoreName
public DeleteMetastoreUsersOptions.Builder metastoreName(java.lang.String metastoreName)
Set the metastoreName.- Parameters:
metastoreName
- the metastoreName- Returns:
- the DeleteMetastoreUsersOptions builder
-
groups
public DeleteMetastoreUsersOptions.Builder groups(java.util.List<java.lang.String> groups)
Set the groups. Existing groups will be replaced.- Parameters:
groups
- the groups- Returns:
- the DeleteMetastoreUsersOptions builder
-
users
public DeleteMetastoreUsersOptions.Builder users(java.util.List<java.lang.String> users)
Set the users. Existing users will be replaced.- Parameters:
users
- the users- Returns:
- the DeleteMetastoreUsersOptions builder
-
lhInstanceId
public DeleteMetastoreUsersOptions.Builder lhInstanceId(java.lang.String lhInstanceId)
Set the lhInstanceId.- Parameters:
lhInstanceId
- the lhInstanceId- Returns:
- the DeleteMetastoreUsersOptions builder
-
authInstanceId
public DeleteMetastoreUsersOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the DeleteMetastoreUsersOptions builder
-
-