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