Package com.oracle.bmc.cims.model
Class CreateIncident.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.CreateIncident.Builder
-
- Enclosing class:
- CreateIncident
public static class CreateIncident.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIncidentbuild()CreateIncident.BuildercompartmentId(String compartmentId)The OCID of the tenancy.CreateIncident.Buildercontacts(List<Contact> contacts)The list of contacts.CreateIncident.Buildercopy(CreateIncident model)CreateIncident.Buildercsi(String csi)Deprecated.CreateIncident.BuilderproblemType(ProblemType problemType)The kind of support request (type of support request).CreateIncident.Builderreferrer(String referrer)The incident referrer.CreateIncident.Builderticket(CreateTicketDetails ticket)CreateIncident.BuilderuserGroupId(String userGroupId)Technical support type (TECH) only: Identifier of the user group to assign the new support request to.
-
-
-
Method Detail
-
compartmentId
public CreateIncident.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
ticket
public CreateIncident.Builder ticket(CreateTicketDetails ticket)
-
csi
public CreateIncident.Builder csi(String csi)
Deprecated.The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.
- Parameters:
csi- the value to set- Returns:
- this builder
-
userGroupId
public CreateIncident.Builder userGroupId(String userGroupId)
Technical support type (TECH) only: Identifier of the user group to assign the new support request to.To find identifiers of user groups that you have access to, run the
validateUseroperation. Note: The Customer User Administrator (CUA) can manage user groups by name using My Oracle Cloud Support portal.- Parameters:
userGroupId- the value to set- Returns:
- this builder
-
problemType
public CreateIncident.Builder problemType(ProblemType problemType)
The kind of support request (type of support request).For information about ACCOUNT support requests, see Creating a Billing Support Request. For information about LIMIT support requests, see Creating a Service Limit Increase Request. For information about TECH support requests, see Creating a Technical Support Request.
- Parameters:
problemType- the value to set- Returns:
- this builder
-
contacts
public CreateIncident.Builder contacts(List<Contact> contacts)
The list of contacts.- Parameters:
contacts- the value to set- Returns:
- this builder
-
referrer
public CreateIncident.Builder referrer(String referrer)
The incident referrer.This value is often the URL that the customer used when creating the support request.
- Parameters:
referrer- the value to set- Returns:
- this builder
-
build
public CreateIncident build()
-
copy
public CreateIncident.Builder copy(CreateIncident model)
-
-