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