Class OdaInstanceSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public OdaInstanceSummary.Builder id​(String id)
        Unique identifier of the Digital Assistant instance.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public OdaInstanceSummary.Builder displayName​(String displayName)
        User-defined name for the Digital Assistant instance.

        You can change this value.

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

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

        public OdaInstanceSummary.Builder compartmentId​(String compartmentId)
        Identifier of the compartment that the instance belongs to.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public OdaInstanceSummary.Builder timeCreated​(Date timeCreated)
        When the Digital Assistant instance was created.

        A date-time string as described in RFC 3339, section 14.29.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

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

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • stateMessage

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

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

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

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

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

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

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

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

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

        public OdaInstanceSummary.Builder importedPackageNames​(List<String> importedPackageNames)
        A list of package names imported into this instance (if any).
        Parameters:
        importedPackageNames - the value to set
        Returns:
        this builder
      • attachmentTypes

        public OdaInstanceSummary.Builder attachmentTypes​(List<String> attachmentTypes)
        A list of attachment types for this instance (if any).
        Parameters:
        attachmentTypes - the value to set
        Returns:
        this builder