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