Class ListIncidentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.requests.ListIncidentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListIncidentsRequest,Void>
- Enclosing class:
- ListIncidentsRequest
public static class ListIncidentsRequest.Builder extends Object implements BmcRequest.Builder<ListIncidentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIncidentsRequest.Builderbearertoken(String bearertoken)Token that provided by multi cloud provider, which help to validate the email.ListIncidentsRequest.Builderbearertokentype(String bearertokentype)Token type that determine which cloud provider the request come from.ListIncidentsRequestbuild()Build the instance of ListIncidentsRequest as configured by this builderListIncidentsRequestbuildWithoutInvocationCallback()Build the instance of ListIncidentsRequest as configured by this builderListIncidentsRequest.BuildercompartmentId(String compartmentId)The OCID of the tenancy.ListIncidentsRequest.Buildercopy(ListIncidentsRequest o)Copy method to populate the builder with values from the given instance.ListIncidentsRequest.Buildercsi(String csi)The Customer Support Identifier (CSI) number associated with the support account.ListIncidentsRequest.Builderdomainid(String domainid)The OCID of identity domain.ListIncidentsRequest.Builderhomeregion(String homeregion)The region of the tenancy.ListIncidentsRequest.Builderidtoken(String idtoken)IdToken that provided by multi cloud provider, which help to validate the email.ListIncidentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListIncidentsRequest.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the ticket.ListIncidentsRequest.Builderlimit(Integer limit)For list pagination.ListIncidentsRequest.Builderocid(String ocid)User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.ListIncidentsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListIncidentsRequest.Builderpage(String page)For list pagination.ListIncidentsRequest.BuilderproblemType(String problemType)The kind of support request.ListIncidentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListIncidentsRequest.BuildersortBy(SortBy sortBy)The key to use to sort the returned items.ListIncidentsRequest.BuildersortOrder(SortOrder sortOrder)The order to sort the results in.-
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
-
compartmentId
public ListIncidentsRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
csi
public ListIncidentsRequest.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
-
limit
public ListIncidentsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
sortBy
public ListIncidentsRequest.Builder sortBy(SortBy sortBy)
The key to use to sort the returned items.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListIncidentsRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the results in.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListIncidentsRequest.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the ticket.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
page
public ListIncidentsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.Builder homeregion(String homeregion)
The region of the tenancy.- Parameters:
homeregion- the value to set- Returns:
- this builder instance
-
problemType
public ListIncidentsRequest.Builder problemType(String problemType)
The kind of support request.- Parameters:
problemType- the value to set- Returns:
- this builder instance
-
bearertokentype
public ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.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 ListIncidentsRequest.Builder copy(ListIncidentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListIncidentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListIncidentsRequest build()
Build the instance of ListIncidentsRequest 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<ListIncidentsRequest,Void>- Returns:
- instance of ListIncidentsRequest
-
buildWithoutInvocationCallback
public ListIncidentsRequest buildWithoutInvocationCallback()
Build the instance of ListIncidentsRequest 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 ListIncidentsRequest
-
-