Class UpdateIncidentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.requests.UpdateIncidentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateIncidentRequest,UpdateIncident>
- Enclosing class:
- UpdateIncidentRequest
public static class UpdateIncidentRequest.Builder extends Object implements BmcRequest.Builder<UpdateIncidentRequest,UpdateIncident>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIncidentRequest.Builderbearertoken(String bearertoken)Token that provided by multi cloud provider, which help to validate the email.UpdateIncidentRequest.Builderbearertokentype(String bearertokentype)Token type that determine which cloud provider the request come from.UpdateIncidentRequest.Builderbody$(UpdateIncident body)Alternative setter for the body parameter.UpdateIncidentRequestbuild()Build the instance of UpdateIncidentRequest as configured by this builderUpdateIncidentRequestbuildWithoutInvocationCallback()Build the instance of UpdateIncidentRequest as configured by this builderUpdateIncidentRequest.BuildercompartmentId(String compartmentId)The OCID of the tenancy.UpdateIncidentRequest.Buildercopy(UpdateIncidentRequest o)Copy method to populate the builder with values from the given instance.UpdateIncidentRequest.Buildercsi(String csi)The Customer Support Identifier (CSI) number associated with the support account.UpdateIncidentRequest.Builderdomainid(String domainid)The OCID of identity domain.UpdateIncidentRequest.Builderhomeregion(String homeregion)The region of the tenancy.UpdateIncidentRequest.Builderidtoken(String idtoken)IdToken that provided by multi cloud provider, which help to validate the email.UpdateIncidentRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateIncidentRequest.BuilderincidentKey(String incidentKey)Unique identifier for the support request.UpdateIncidentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateIncidentRequest.Builderocid(String ocid)User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.UpdateIncidentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateIncidentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateIncidentRequest.BuilderupdateIncidentDetails(UpdateIncident updateIncidentDetails)Details about the support request being updated.
-
-
-
Method Detail
-
incidentKey
public UpdateIncidentRequest.Builder incidentKey(String incidentKey)
Unique identifier for the support request.- Parameters:
incidentKey- the value to set- Returns:
- this builder instance
-
updateIncidentDetails
public UpdateIncidentRequest.Builder updateIncidentDetails(UpdateIncident updateIncidentDetails)
Details about the support request being updated.- Parameters:
updateIncidentDetails- the value to set- Returns:
- this builder instance
-
compartmentId
public UpdateIncidentRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
csi
public UpdateIncidentRequest.Builder csi(String csi)
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 instance
-
opcRequestId
public UpdateIncidentRequest.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
-
ifMatch
public UpdateIncidentRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
ocid
public UpdateIncidentRequest.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 UpdateIncidentRequest.Builder homeregion(String homeregion)
The region of the tenancy.- Parameters:
homeregion- the value to set- Returns:
- this builder instance
-
bearertokentype
public UpdateIncidentRequest.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 UpdateIncidentRequest.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 UpdateIncidentRequest.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 UpdateIncidentRequest.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 UpdateIncidentRequest.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 UpdateIncidentRequest.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 UpdateIncidentRequest.Builder copy(UpdateIncidentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateIncidentRequest,UpdateIncident>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateIncidentRequest build()
Build the instance of UpdateIncidentRequest 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<UpdateIncidentRequest,UpdateIncident>- Returns:
- instance of UpdateIncidentRequest
-
body$
public UpdateIncidentRequest.Builder body$(UpdateIncident body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateIncidentRequest,UpdateIncident>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateIncidentRequest buildWithoutInvocationCallback()
Build the instance of UpdateIncidentRequest 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 UpdateIncidentRequest
-
-