public static class OdaInstanceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OdaInstanceSummary.Builder |
attachmentTypes(List<String> attachmentTypes)
A list of attachment types for this instance (if any).
|
OdaInstanceSummary |
build() |
OdaInstanceSummary.Builder |
compartmentId(String compartmentId)
Identifier of the compartment that the instance belongs to.
|
OdaInstanceSummary.Builder |
copy(OdaInstanceSummary model) |
OdaInstanceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
OdaInstanceSummary.Builder |
description(String description)
Description of the Digital Assistant instance.
|
OdaInstanceSummary.Builder |
displayName(String displayName)
User-defined name for the Digital Assistant instance.
|
OdaInstanceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
OdaInstanceSummary.Builder |
id(String id)
Unique identifier of the Digital Assistant instance.
|
OdaInstanceSummary.Builder |
identityDomain(String identityDomain)
If isRoleBasedAccess is set to true, this property specifies the identity domain that is
to be used to implement this type of authorzation.
|
OdaInstanceSummary.Builder |
importedPackageNames(List<String> importedPackageNames)
A list of package names imported into this instance (if any).
|
OdaInstanceSummary.Builder |
isRoleBasedAccess(Boolean isRoleBasedAccess)
Should this Digital Assistant instance use role-based authorization via an identity
domain (true) or use the default policy-based authorization via IAM policies (false)
|
OdaInstanceSummary.Builder |
lifecycleState(OdaInstanceSummary.LifecycleState lifecycleState)
The current state of the instance.
|
OdaInstanceSummary.Builder |
lifecycleSubState(OdaInstanceSummary.LifecycleSubState lifecycleSubState)
The current sub-state of the Digital Assistant instance.
|
OdaInstanceSummary.Builder |
shapeName(OdaInstanceSummary.ShapeName shapeName)
Shape or size of the instance.
|
OdaInstanceSummary.Builder |
stateMessage(String stateMessage)
A message describing the current state in more detail.
|
OdaInstanceSummary.Builder |
timeCreated(Date timeCreated)
When the Digital Assistant instance was created.
|
OdaInstanceSummary.Builder |
timeUpdated(Date timeUpdated)
When the Digital Assistant instance was last updated.
|
public OdaInstanceSummary.Builder id(String id)
Unique identifier of the Digital Assistant instance.
id
- the value to setpublic OdaInstanceSummary.Builder displayName(String displayName)
User-defined name for the Digital Assistant instance. You can change this value.
displayName
- the value to setpublic OdaInstanceSummary.Builder description(String description)
Description of the Digital Assistant instance.
description
- the value to setpublic OdaInstanceSummary.Builder compartmentId(String compartmentId)
Identifier of the compartment that the instance belongs to.
compartmentId
- the value to setpublic OdaInstanceSummary.Builder shapeName(OdaInstanceSummary.ShapeName shapeName)
Shape or size of the instance.
shapeName
- the value to setpublic OdaInstanceSummary.Builder timeCreated(Date timeCreated)
When the Digital Assistant instance was created. A date-time string as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic OdaInstanceSummary.Builder timeUpdated(Date timeUpdated)
When the Digital Assistant instance was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic OdaInstanceSummary.Builder lifecycleState(OdaInstanceSummary.LifecycleState lifecycleState)
The current state of the instance.
lifecycleState
- the value to setpublic OdaInstanceSummary.Builder lifecycleSubState(OdaInstanceSummary.LifecycleSubState lifecycleSubState)
The current sub-state of the Digital Assistant instance.
lifecycleSubState
- the value to setpublic OdaInstanceSummary.Builder stateMessage(String stateMessage)
A message describing the current state in more detail. For example, actionable
information about an instance that’s in the FAILED
state.
stateMessage
- the value to setpublic OdaInstanceSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic OdaInstanceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic OdaInstanceSummary.Builder isRoleBasedAccess(Boolean isRoleBasedAccess)
Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false)
isRoleBasedAccess
- the value to setpublic OdaInstanceSummary.Builder identityDomain(String identityDomain)
If isRoleBasedAccess is set to true, this property specifies the identity domain that is to be used to implement this type of authorzation. Digital Assistant will create an Identity Application instance and Application Roles within this identity domain. The caller may then perform and user roll mappings they like to grant access to users within the identity domain.
identityDomain
- the value to setpublic OdaInstanceSummary.Builder importedPackageNames(List<String> importedPackageNames)
A list of package names imported into this instance (if any).
importedPackageNames
- the value to setpublic OdaInstanceSummary.Builder attachmentTypes(List<String> attachmentTypes)
A list of attachment types for this instance (if any).
attachmentTypes
- the value to setpublic OdaInstanceSummary build()
public OdaInstanceSummary.Builder copy(OdaInstanceSummary model)
Copyright © 2016–2024. All rights reserved.