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