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