public static class OdaInstance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OdaInstance.Builder |
attachmentIds(List<String> attachmentIds)
A list of attachment identifiers for this instance (if any).
|
OdaInstance.Builder |
attachmentTypes(List<String> attachmentTypes)
A list of attachment types for this instance (if any).
|
OdaInstance |
build() |
OdaInstance.Builder |
compartmentId(String compartmentId)
Identifier of the compartment that the instance belongs to.
|
OdaInstance.Builder |
connectorUrl(String connectorUrl)
URL for the connector’s endpoint.
|
OdaInstance.Builder |
copy(OdaInstance model) |
OdaInstance.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
OdaInstance.Builder |
description(String description)
Description of the Digital Assistant instance.
|
OdaInstance.Builder |
displayName(String displayName)
User-defined name for the Digital Assistant instance.
|
OdaInstance.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
OdaInstance.Builder |
id(String id)
Unique immutable identifier that was assigned when the instance was created.
|
OdaInstance.Builder |
identityAppConsoleUrl(String identityAppConsoleUrl)
If isRoleBasedAccess is set to true, this property specifies the URL for the
administration console used to manage the Identity Application instance Digital Assistant
has created inside the user-specified identity domain.
|
OdaInstance.Builder |
identityAppGuid(String identityAppGuid)
If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity
Application instance Digital Assistant has created inside the user-specified identity
domain.
|
OdaInstance.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.
|
OdaInstance.Builder |
importedPackageIds(List<String> importedPackageIds)
A list of package ids imported into this instance (if any).
|
OdaInstance.Builder |
importedPackageNames(List<String> importedPackageNames)
A list of package names imported into this instance (if any).
|
OdaInstance.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)
|
OdaInstance.Builder |
lifecycleState(OdaInstance.LifecycleState lifecycleState)
The current state of the Digital Assistant instance.
|
OdaInstance.Builder |
lifecycleSubState(OdaInstance.LifecycleSubState lifecycleSubState)
The current sub-state of the Digital Assistant instance.
|
OdaInstance.Builder |
restrictedOperations(List<RestrictedOperation> restrictedOperations)
A list of restricted operations (across all attachments) for this instance (if any).
|
OdaInstance.Builder |
shapeName(OdaInstance.ShapeName shapeName)
Shape or size of the instance.
|
OdaInstance.Builder |
stateMessage(String stateMessage)
A message that describes the current state in more detail.
|
OdaInstance.Builder |
timeCreated(Date timeCreated)
When the Digital Assistant instance was created.
|
OdaInstance.Builder |
timeUpdated(Date timeUpdated)
When the Digital Assistance instance was last updated.
|
OdaInstance.Builder |
webAppUrl(String webAppUrl)
URL for the Digital Assistant web application that’s associated with the instance.
|
public OdaInstance.Builder id(String id)
Unique immutable identifier that was assigned when the instance was created.
id
- the value to setpublic OdaInstance.Builder displayName(String displayName)
User-defined name for the Digital Assistant instance. Avoid entering confidential information. You can change this value.
displayName
- the value to setpublic OdaInstance.Builder description(String description)
Description of the Digital Assistant instance.
description
- the value to setpublic OdaInstance.Builder compartmentId(String compartmentId)
Identifier of the compartment that the instance belongs to.
compartmentId
- the value to setpublic OdaInstance.Builder shapeName(OdaInstance.ShapeName shapeName)
Shape or size of the instance.
shapeName
- the value to setpublic OdaInstance.Builder webAppUrl(String webAppUrl)
URL for the Digital Assistant web application that’s associated with the instance.
webAppUrl
- the value to setpublic OdaInstance.Builder connectorUrl(String connectorUrl)
URL for the connector’s endpoint.
connectorUrl
- the value to setpublic OdaInstance.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 OdaInstance.Builder timeUpdated(Date timeUpdated)
When the Digital Assistance instance was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic OdaInstance.Builder lifecycleState(OdaInstance.LifecycleState lifecycleState)
The current state of the Digital Assistant instance.
lifecycleState
- the value to setpublic OdaInstance.Builder lifecycleSubState(OdaInstance.LifecycleSubState lifecycleSubState)
The current sub-state of the Digital Assistant instance.
lifecycleSubState
- the value to setpublic OdaInstance.Builder stateMessage(String stateMessage)
A message that describes the current state in more detail. For example, actionable
information about an instance that’s in the FAILED
state.
stateMessage
- the value to setpublic OdaInstance.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 OdaInstance.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 OdaInstance.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 OdaInstance.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 OdaInstance.Builder identityAppGuid(String identityAppGuid)
If isRoleBasedAccess is set to true, this property specifies the GUID of the Identity Application instance Digital Assistant has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this Digital Assistant instance for users within the identity domain.
identityAppGuid
- the value to setpublic OdaInstance.Builder identityAppConsoleUrl(String identityAppConsoleUrl)
If isRoleBasedAccess is set to true, this property specifies the URL for the administration console used to manage the Identity Application instance Digital Assistant has created inside the user-specified identity domain.
identityAppConsoleUrl
- the value to setpublic OdaInstance.Builder importedPackageNames(List<String> importedPackageNames)
A list of package names imported into this instance (if any). Use importedPackageIds field to get the details of the imported packages.
importedPackageNames
- the value to setpublic OdaInstance.Builder importedPackageIds(List<String> importedPackageIds)
A list of package ids imported into this instance (if any). Use GetImportedPackage to get the details of the imported packages.
importedPackageIds
- the value to setpublic OdaInstance.Builder attachmentTypes(List<String> attachmentTypes)
A list of attachment types for this instance (if any). Use attachmentIds to get the details of the attachments.
attachmentTypes
- the value to setpublic OdaInstance.Builder attachmentIds(List<String> attachmentIds)
A list of attachment identifiers for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
attachmentIds
- the value to setpublic OdaInstance.Builder restrictedOperations(List<RestrictedOperation> restrictedOperations)
A list of restricted operations (across all attachments) for this instance (if any). Use GetOdaInstanceAttachment to get the details of the attachments.
restrictedOperations
- the value to setpublic OdaInstance build()
public OdaInstance.Builder copy(OdaInstance model)
Copyright © 2016–2024. All rights reserved.