Class Incident.Builder

  • Enclosing class:
    Incident

    public static class Incident.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public Incident.Builder key​(String key)
        Unique identifier for the support ticket.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • compartmentId

        public Incident.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • userGroupId

        public Incident.Builder userGroupId​(String userGroupId)
        Technical support type (TECH) only: The identifier of the support request’s user group in My Oracle Cloud Support portal.
        Parameters:
        userGroupId - the value to set
        Returns:
        this builder
      • userGroupName

        public Incident.Builder userGroupName​(String userGroupName)
        Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.
        Parameters:
        userGroupName - the value to set
        Returns:
        this builder
      • primaryContactPartyId

        public Incident.Builder primaryContactPartyId​(String primaryContactPartyId)
        Technical support type (TECH) only: The identifier of the support request’s primary contact (primaryContactPartyName) in My Oracle Cloud Support portal.
        Parameters:
        primaryContactPartyId - the value to set
        Returns:
        this builder
      • primaryContactPartyName

        public Incident.Builder primaryContactPartyName​(String primaryContactPartyName)
        Technical support type (TECH) only: The name of the support request’s primary contact in My Oracle Cloud Support portal.
        Parameters:
        primaryContactPartyName - the value to set
        Returns:
        this builder
      • isWritePermitted

        public Incident.Builder isWritePermitted​(Boolean isWritePermitted)
        Technical support type (TECH) only: Allows update of the support request in My Oracle Cloud Support portal, when the user has write permission to the support request’s user group.
        Parameters:
        isWritePermitted - the value to set
        Returns:
        this builder
      • warnMessage

        public Incident.Builder warnMessage​(String warnMessage)
        Technical support type (TECH) only: Message indicating the user group ( userGroupId) that was auto-selected for a new support request.

        This message appears when no user group was specified in the create request for a new technical support request.

        Parameters:
        warnMessage - the value to set
        Returns:
        this builder
      • referrer

        public Incident.Builder referrer​(String referrer)
        The incident referrer.

        This value is often the URL that the customer used when creating the support ticket.

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