Class CreateOdaInstanceDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateOdaInstanceDetails.Builder displayName​(String displayName)
        User-friendly name for the instance.

        Avoid entering confidential information. You can change this value anytime.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateOdaInstanceDetails.Builder description​(String description)
        Description of the Digital Assistant instance.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateOdaInstanceDetails.Builder compartmentId​(String compartmentId)
        Identifier of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateOdaInstanceDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type, or scope.

        Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateOdaInstanceDetails.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”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • isRoleBasedAccess

        public CreateOdaInstanceDetails.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)
        Parameters:
        isRoleBasedAccess - the value to set
        Returns:
        this builder
      • identityDomain

        public CreateOdaInstanceDetails.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.

        Parameters:
        identityDomain - the value to set
        Returns:
        this builder