Package com.oracle.bmc.cims.requests
Class GetIncidentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.requests.GetIncidentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetIncidentRequest,Void>
- Enclosing class:
- GetIncidentRequest
public static class GetIncidentRequest.Builder extends Object implements BmcRequest.Builder<GetIncidentRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIncidentRequest.Builder
bearertoken(String bearertoken)
Token that provided by multi cloud provider, which help to validate the email.GetIncidentRequest.Builder
bearertokentype(String bearertokentype)
Token type that determine which cloud provider the request come from.GetIncidentRequest
build()
Build the instance of GetIncidentRequest as configured by this builderGetIncidentRequest
buildWithoutInvocationCallback()
Build the instance of GetIncidentRequest as configured by this builderGetIncidentRequest.Builder
compartmentId(String compartmentId)
The OCID of the tenancy.GetIncidentRequest.Builder
copy(GetIncidentRequest o)
Copy method to populate the builder with values from the given instance.GetIncidentRequest.Builder
csi(String csi)
The Customer Support Identifier (CSI) number associated with the support account.GetIncidentRequest.Builder
domainid(String domainid)
The OCID of identity domain.GetIncidentRequest.Builder
homeregion(String homeregion)
The region of the tenancy.GetIncidentRequest.Builder
idtoken(String idtoken)
IdToken that provided by multi cloud provider, which help to validate the email.GetIncidentRequest.Builder
incidentKey(String incidentKey)
Unique identifier for the support ticket.GetIncidentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetIncidentRequest.Builder
ocid(String ocid)
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.GetIncidentRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetIncidentRequest.Builder
problemtype(String problemtype)
The kind of support request.GetIncidentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
incidentKey
public GetIncidentRequest.Builder incidentKey(String incidentKey)
Unique identifier for the support ticket.- Parameters:
incidentKey
- the value to set- Returns:
- this builder instance
-
compartmentId
public GetIncidentRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetIncidentRequest.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
-
csi
public GetIncidentRequest.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
-
ocid
public GetIncidentRequest.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 GetIncidentRequest.Builder homeregion(String homeregion)
The region of the tenancy.- Parameters:
homeregion
- the value to set- Returns:
- this builder instance
-
problemtype
public GetIncidentRequest.Builder problemtype(String problemtype)
The kind of support request.- Parameters:
problemtype
- the value to set- Returns:
- this builder instance
-
bearertokentype
public GetIncidentRequest.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 GetIncidentRequest.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 GetIncidentRequest.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 GetIncidentRequest.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 GetIncidentRequest.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 GetIncidentRequest.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 GetIncidentRequest.Builder copy(GetIncidentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetIncidentRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetIncidentRequest build()
Build the instance of GetIncidentRequest 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:
build
in interfaceBmcRequest.Builder<GetIncidentRequest,Void>
- Returns:
- instance of GetIncidentRequest
-
buildWithoutInvocationCallback
public GetIncidentRequest buildWithoutInvocationCallback()
Build the instance of GetIncidentRequest 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 GetIncidentRequest
-
-