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