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