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