public static class CreateIncidentRequest.Builder extends Object implements BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateIncidentRequest.Builder |
bearertoken(String bearertoken)
Token that provided by multi cloud provider, which help to validate the email.
|
CreateIncidentRequest.Builder |
bearertokentype(String bearertokentype)
Token type that determine which cloud provider the request come from.
|
CreateIncidentRequest.Builder |
body$(CreateIncident body)
Alternative setter for the body parameter.
|
CreateIncidentRequest |
build()
Build the instance of CreateIncidentRequest as configured by this builder
|
CreateIncidentRequest |
buildWithoutInvocationCallback()
Build the instance of CreateIncidentRequest as configured by this builder
|
CreateIncidentRequest.Builder |
copy(CreateIncidentRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateIncidentRequest.Builder |
createIncidentDetails(CreateIncident createIncidentDetails)
Incident information
|
CreateIncidentRequest.Builder |
domainid(String domainid)
The OCID of identity domain.
|
CreateIncidentRequest.Builder |
homeregion(String homeregion)
The region of the tenancy.
|
CreateIncidentRequest.Builder |
idtoken(String idtoken)
IdToken that provided by multi cloud provider, which help to validate the email.
|
CreateIncidentRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
CreateIncidentRequest.Builder |
ocid(String ocid)
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle
Cloud Infrastructure account.
|
CreateIncidentRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateIncidentRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateIncidentRequest.Builder createIncidentDetails(CreateIncident createIncidentDetails)
Incident information
createIncidentDetails
- the value to setpublic 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.
opcRequestId
- the value to setpublic 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.
ocid
- the value to setpublic CreateIncidentRequest.Builder homeregion(String homeregion)
The region of the tenancy.
homeregion
- the value to setpublic CreateIncidentRequest.Builder bearertokentype(String bearertokentype)
Token type that determine which cloud provider the request come from.
bearertokentype
- the value to setpublic CreateIncidentRequest.Builder bearertoken(String bearertoken)
Token that provided by multi cloud provider, which help to validate the email.
bearertoken
- the value to setpublic CreateIncidentRequest.Builder idtoken(String idtoken)
IdToken that provided by multi cloud provider, which help to validate the email.
idtoken
- the value to setpublic CreateIncidentRequest.Builder domainid(String domainid)
The OCID of identity domain. DomainID is mandatory if the user is part of Non Default Identity domain.
domainid
- the value to setpublic CreateIncidentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic CreateIncidentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateIncidentRequest.Builder copy(CreateIncidentRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
o
- other request from which to copy valuespublic CreateIncidentRequest build()
Build the instance of CreateIncidentRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
public CreateIncidentRequest.Builder body$(CreateIncident body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateIncidentRequest,CreateIncident>
body
- the body parameterpublic CreateIncidentRequest buildWithoutInvocationCallback()
Build the instance of CreateIncidentRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.