Package com.oracle.bmc.cims.model
Class Incident.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.Incident.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Incident
build()
Incident.Builder
compartmentId(String compartmentId)
The OCID of the tenancy.Incident.Builder
contactList(ContactList contactList)
Incident.Builder
copy(Incident model)
Incident.Builder
incidentType(IncidentType incidentType)
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.Incident.Builder
key(String key)
Unique identifier for the support ticket.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.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.Incident.Builder
problemType(ProblemType problemType)
The kind of support ticket (type of support request).Incident.Builder
referrer(String referrer)
The incident referrer.Incident.Builder
tenancyInformation(TenancyInformation tenancyInformation)
Incident.Builder
ticket(Ticket ticket)
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.Incident.Builder
userGroupName(String userGroupName)
Technical support type (TECH) only: Name of the support request’s user group in My Oracle Cloud Support portal.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.
-
-
-
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
-
contactList
public Incident.Builder contactList(ContactList contactList)
-
tenancyInformation
public Incident.Builder tenancyInformation(TenancyInformation tenancyInformation)
-
ticket
public Incident.Builder ticket(Ticket ticket)
-
incidentType
public Incident.Builder incidentType(IncidentType incidentType)
-
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
-
problemType
public Incident.Builder problemType(ProblemType problemType)
The kind of support ticket (type of support request).For information about ACCOUNT support tickets, see Creating a Billing Support Request. For information about LIMIT support tickets, see Creating a Service Limit Increase Request. For information about TECH support tickets, see Creating a Technical Support Request.
- Parameters:
problemType
- 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
-
build
public Incident build()
-
copy
public Incident.Builder copy(Incident model)
-
-