Class ListIncidentResourceTypesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.requests.ListIncidentResourceTypesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListIncidentResourceTypesRequest,Void>
- Enclosing class:
- ListIncidentResourceTypesRequest
public static class ListIncidentResourceTypesRequest.Builder extends Object implements BmcRequest.Builder<ListIncidentResourceTypesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIncidentResourceTypesRequest
build()
Build the instance of ListIncidentResourceTypesRequest as configured by this builderListIncidentResourceTypesRequest
buildWithoutInvocationCallback()
Build the instance of ListIncidentResourceTypesRequest as configured by this builderListIncidentResourceTypesRequest.Builder
compartmentId(String compartmentId)
The OCID of the tenancy.ListIncidentResourceTypesRequest.Builder
copy(ListIncidentResourceTypesRequest o)
Copy method to populate the builder with values from the given instance.ListIncidentResourceTypesRequest.Builder
csi(String csi)
The Customer Support Identifier (CSI) number associated with the support account.ListIncidentResourceTypesRequest.Builder
domainid(String domainid)
The OCID of identity domain.ListIncidentResourceTypesRequest.Builder
homeregion(String homeregion)
The region of the tenancy.ListIncidentResourceTypesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListIncidentResourceTypesRequest.Builder
limit(Integer limit)
For list pagination.ListIncidentResourceTypesRequest.Builder
name(String name)
The user-friendly name of the support ticket type.ListIncidentResourceTypesRequest.Builder
ocid(String ocid)
User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.ListIncidentResourceTypesRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListIncidentResourceTypesRequest.Builder
page(String page)
For list pagination.ListIncidentResourceTypesRequest.Builder
problemType(String problemType)
The kind of support request.ListIncidentResourceTypesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListIncidentResourceTypesRequest.Builder
sortBy(SortBy sortBy)
The key to use to sort the returned items.ListIncidentResourceTypesRequest.Builder
sortOrder(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
-
problemType
public ListIncidentResourceTypesRequest.Builder problemType(String problemType)
The kind of support request.- Parameters:
problemType
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListIncidentResourceTypesRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListIncidentResourceTypesRequest.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
-
limit
public ListIncidentResourceTypesRequest.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
-
page
public ListIncidentResourceTypesRequest.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
-
sortBy
public ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the results in.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
name
public ListIncidentResourceTypesRequest.Builder name(String name)
The user-friendly name of the support ticket type.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
csi
public ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.Builder homeregion(String homeregion)
The region of the tenancy.- Parameters:
homeregion
- the value to set- Returns:
- this builder instance
-
domainid
public ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.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 ListIncidentResourceTypesRequest.Builder copy(ListIncidentResourceTypesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListIncidentResourceTypesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListIncidentResourceTypesRequest build()
Build the instance of ListIncidentResourceTypesRequest 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<ListIncidentResourceTypesRequest,Void>
- Returns:
- instance of ListIncidentResourceTypesRequest
-
buildWithoutInvocationCallback
public ListIncidentResourceTypesRequest buildWithoutInvocationCallback()
Build the instance of ListIncidentResourceTypesRequest 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 ListIncidentResourceTypesRequest
-
-