public static class CreateAiAgent.Builder extends NullableFieldTracker
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessState |
protected List<AiAgentAllowedEntity> |
allowedEntities |
protected AiStudioAgentAsk |
ask |
protected AiStudioAgentExtract |
extract |
protected String |
iconReference |
protected String |
name |
protected AiStudioAgentTextGen |
textGen |
protected EnumWrapper<CreateAiAgentTypeField> |
type |
explicitlySetNullableFields| Constructor and Description |
|---|
Builder(String name,
String accessState) |
| Modifier and Type | Method and Description |
|---|---|
CreateAiAgent.Builder |
allowedEntities(List<AiAgentAllowedEntity> allowedEntities) |
CreateAiAgent.Builder |
ask(AiStudioAgentAsk ask) |
CreateAiAgent |
build() |
CreateAiAgent.Builder |
extract(AiStudioAgentExtract extract) |
CreateAiAgent.Builder |
iconReference(String iconReference) |
CreateAiAgent.Builder |
textGen(AiStudioAgentTextGen textGen) |
CreateAiAgent.Builder |
type(CreateAiAgentTypeField type) |
CreateAiAgent.Builder |
type(EnumWrapper<CreateAiAgentTypeField> type) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<CreateAiAgentTypeField> type
protected final String accessState
protected String iconReference
protected List<AiAgentAllowedEntity> allowedEntities
protected AiStudioAgentAsk ask
protected AiStudioAgentTextGen textGen
protected AiStudioAgentExtract extract
public CreateAiAgent.Builder type(CreateAiAgentTypeField type)
public CreateAiAgent.Builder type(EnumWrapper<CreateAiAgentTypeField> type)
public CreateAiAgent.Builder iconReference(String iconReference)
public CreateAiAgent.Builder allowedEntities(List<AiAgentAllowedEntity> allowedEntities)
public CreateAiAgent.Builder ask(AiStudioAgentAsk ask)
public CreateAiAgent.Builder textGen(AiStudioAgentTextGen textGen)
public CreateAiAgent.Builder extract(AiStudioAgentExtract extract)
public CreateAiAgent build()