Package com.oracle.bmc.cims.requests
Class CreateIncidentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cims.requests.CreateIncidentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
 - Enclosing class:
- CreateIncidentRequest
 
 public static class CreateIncidentRequest.Builder extends Object implements BmcRequest.Builder<CreateIncidentRequest,CreateIncident> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIncidentRequest.Builderbearertoken(String bearertoken)Token that provided by multi cloud provider, which help to validate the email.CreateIncidentRequest.Builderbearertokentype(String bearertokentype)Token type that determine which cloud provider the request come from.CreateIncidentRequest.Builderbody$(CreateIncident body)Alternative setter for the body parameter.CreateIncidentRequestbuild()Build the instance of CreateIncidentRequest as configured by this builderCreateIncidentRequestbuildWithoutInvocationCallback()Build the instance of CreateIncidentRequest as configured by this builderCreateIncidentRequest.Buildercopy(CreateIncidentRequest o)Copy method to populate the builder with values from the given instance.CreateIncidentRequest.BuildercreateIncidentDetails(CreateIncident createIncidentDetails)Incident informationCreateIncidentRequest.Builderdomainid(String domainid)The OCID of identity domain.CreateIncidentRequest.Builderhomeregion(String homeregion)The region of the tenancy.CreateIncidentRequest.Builderidtoken(String idtoken)IdToken that provided by multi cloud provider, which help to validate the email.CreateIncidentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateIncidentRequest.Builderocid(String ocid)User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.CreateIncidentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateIncidentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createIncidentDetailspublic CreateIncidentRequest.Builder createIncidentDetails(CreateIncident createIncidentDetails) Incident information- Parameters:
- createIncidentDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateIncidentRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
ocidpublic CreateIncidentRequest.Builder ocid(String ocid) User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.User OCID is mandatory for OCI Users and optional for Multicloud users. - Parameters:
- ocid- the value to set
- Returns:
- this builder instance
 
 - 
homeregionpublic CreateIncidentRequest.Builder homeregion(String homeregion) The region of the tenancy.- Parameters:
- homeregion- the value to set
- Returns:
- this builder instance
 
 - 
bearertokentypepublic CreateIncidentRequest.Builder bearertokentype(String bearertokentype) Token type that determine which cloud provider the request come from.- Parameters:
- bearertokentype- the value to set
- Returns:
- this builder instance
 
 - 
bearertokenpublic CreateIncidentRequest.Builder bearertoken(String bearertoken) Token that provided by multi cloud provider, which help to validate the email.- Parameters:
- bearertoken- the value to set
- Returns:
- this builder instance
 
 - 
idtokenpublic CreateIncidentRequest.Builder idtoken(String idtoken) IdToken that provided by multi cloud provider, which help to validate the email.- Parameters:
- idtoken- the value to set
- Returns:
- this builder instance
 
 - 
domainidpublic CreateIncidentRequest.Builder domainid(String domainid) The OCID of identity domain.DomainID is mandatory if the user is part of Non Default Identity domain. - Parameters:
- domainid- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateIncidentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic CreateIncidentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic CreateIncidentRequest.Builder copy(CreateIncidentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateIncidentRequest build() Build the instance of CreateIncidentRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
- Returns:
- instance of CreateIncidentRequest
 
 - 
body$public CreateIncidentRequest.Builder body$(CreateIncident body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateIncidentRequest buildWithoutInvocationCallback() Build the instance of CreateIncidentRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of CreateIncidentRequest
 
 
- 
 
-