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