public static class UpdateEnvironmentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String assistantId,
String environmentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateEnvironmentOptions.Builder |
addSkillReference(EnvironmentSkill skillReference)
Adds a new element to skillReferences.
|
UpdateEnvironmentOptions.Builder |
assistantId(String assistantId)
Set the assistantId.
|
UpdateEnvironmentOptions |
build()
Builds a UpdateEnvironmentOptions.
|
UpdateEnvironmentOptions.Builder |
description(String description)
Set the description.
|
UpdateEnvironmentOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
UpdateEnvironmentOptions.Builder |
name(String name)
Set the name.
|
UpdateEnvironmentOptions.Builder |
orchestration(BaseEnvironmentOrchestration orchestration)
Set the orchestration.
|
UpdateEnvironmentOptions.Builder |
sessionTimeout(long sessionTimeout)
Set the sessionTimeout.
|
UpdateEnvironmentOptions.Builder |
skillReferences(List<EnvironmentSkill> skillReferences)
Set the skillReferences.
|
public UpdateEnvironmentOptions build()
public UpdateEnvironmentOptions.Builder addSkillReference(EnvironmentSkill skillReference)
skillReference
- the new element to be addedpublic UpdateEnvironmentOptions.Builder assistantId(String assistantId)
assistantId
- the assistantIdpublic UpdateEnvironmentOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic UpdateEnvironmentOptions.Builder name(String name)
name
- the namepublic UpdateEnvironmentOptions.Builder description(String description)
description
- the descriptionpublic UpdateEnvironmentOptions.Builder orchestration(BaseEnvironmentOrchestration orchestration)
orchestration
- the orchestrationpublic UpdateEnvironmentOptions.Builder sessionTimeout(long sessionTimeout)
sessionTimeout
- the sessionTimeoutpublic UpdateEnvironmentOptions.Builder skillReferences(List<EnvironmentSkill> skillReferences)
skillReferences
- the skillReferencesCopyright © 2024 IBM Cloud. All rights reserved.