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