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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
createIncidentDetails
public CreateIncidentRequest.Builder createIncidentDetails(CreateIncident createIncidentDetails)
Incident information- Parameters:
createIncidentDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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
-
ocid
public 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
-
homeregion
public CreateIncidentRequest.Builder homeregion(String homeregion)
The region of the tenancy.- Parameters:
homeregion- the value to set- Returns:
- this builder instance
-
bearertokentype
public 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
-
bearertoken
public 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
-
idtoken
public 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
-
domainid
public 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
-
invocationCallback
public 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
-
retryConfiguration
public 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
-
copy
public CreateIncidentRequest.Builder copy(CreateIncidentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateIncidentRequest,CreateIncident>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public 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 interfaceBmcRequest.Builder<CreateIncidentRequest,CreateIncident>- Returns:
- instance of CreateIncidentRequest
-
body$
public CreateIncidentRequest.Builder body$(CreateIncident body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateIncidentRequest,CreateIncident>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public 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
-
-