Package com.oracle.bmc.mysql.requests
Class ListMaintenanceEventsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.requests.ListMaintenanceEventsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListMaintenanceEventsRequest,Void>
- Enclosing class:
- ListMaintenanceEventsRequest
public static class ListMaintenanceEventsRequest.Builder extends Object implements BmcRequest.Builder<ListMaintenanceEventsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMaintenanceEventsRequestbuild()Build the instance of ListMaintenanceEventsRequest as configured by this builderListMaintenanceEventsRequestbuildWithoutInvocationCallback()Build the instance of ListMaintenanceEventsRequest as configured by this builderListMaintenanceEventsRequest.Buildercopy(ListMaintenanceEventsRequest o)Copy method to populate the builder with values from the given instance.ListMaintenanceEventsRequest.BuilderdbSystemId(String dbSystemId)The DB System OCID.ListMaintenanceEventsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListMaintenanceEventsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated list call.ListMaintenanceEventsRequest.BuildermaintenanceAction(MaintenanceAction maintenanceAction)The nature of the maintenance event.ListMaintenanceEventsRequest.BuildermaintenanceStatus(MaintenanceEvent.MaintenanceStatus maintenanceStatus)The last status of the maintenance event.ListMaintenanceEventsRequest.BuildermaintenanceType(MaintenanceType maintenanceType)How the maintenance event was triggered.ListMaintenanceEventsRequest.BuildermysqlVersionAfterMaintenance(String mysqlVersionAfterMaintenance)The MySQL version after the maintenance event.ListMaintenanceEventsRequest.BuildermysqlVersionBeforeMaintenance(String mysqlVersionBeforeMaintenance)The MySQL version before the maintenance event.ListMaintenanceEventsRequest.BuilderopcRequestId(String opcRequestId)Customer-defined unique identifier for the request.ListMaintenanceEventsRequest.Builderpage(String page)The value of the opc-next-page or opc-prev-page response header from the previous list call.ListMaintenanceEventsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListMaintenanceEventsRequest.BuildersortBy(ListMaintenanceEventsRequest.SortBy sortBy)The field to sort by.ListMaintenanceEventsRequest.BuildersortOrder(ListMaintenanceEventsRequest.SortOrder sortOrder)The sort order to use (ASC or DESC).-
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
-
dbSystemId
public ListMaintenanceEventsRequest.Builder dbSystemId(String dbSystemId)
The DB System OCID.- Parameters:
dbSystemId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListMaintenanceEventsRequest.Builder opcRequestId(String opcRequestId)
Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
mysqlVersionBeforeMaintenance
public ListMaintenanceEventsRequest.Builder mysqlVersionBeforeMaintenance(String mysqlVersionBeforeMaintenance)
The MySQL version before the maintenance event.- Parameters:
mysqlVersionBeforeMaintenance- the value to set- Returns:
- this builder instance
-
mysqlVersionAfterMaintenance
public ListMaintenanceEventsRequest.Builder mysqlVersionAfterMaintenance(String mysqlVersionAfterMaintenance)
The MySQL version after the maintenance event.- Parameters:
mysqlVersionAfterMaintenance- the value to set- Returns:
- this builder instance
-
maintenanceType
public ListMaintenanceEventsRequest.Builder maintenanceType(MaintenanceType maintenanceType)
How the maintenance event was triggered.- Parameters:
maintenanceType- the value to set- Returns:
- this builder instance
-
maintenanceAction
public ListMaintenanceEventsRequest.Builder maintenanceAction(MaintenanceAction maintenanceAction)
The nature of the maintenance event.- Parameters:
maintenanceAction- the value to set- Returns:
- this builder instance
-
maintenanceStatus
public ListMaintenanceEventsRequest.Builder maintenanceStatus(MaintenanceEvent.MaintenanceStatus maintenanceStatus)
The last status of the maintenance event.- Parameters:
maintenanceStatus- the value to set- Returns:
- this builder instance
-
limit
public ListMaintenanceEventsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated list call.For information about pagination, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListMaintenanceEventsRequest.Builder page(String page)
The value of the opc-next-page or opc-prev-page response header from the previous list call.For information about pagination, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortBy
public ListMaintenanceEventsRequest.Builder sortBy(ListMaintenanceEventsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Time fields are default ordered as descending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListMaintenanceEventsRequest.Builder sortOrder(ListMaintenanceEventsRequest.SortOrder sortOrder)
The sort order to use (ASC or DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListMaintenanceEventsRequest.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 ListMaintenanceEventsRequest.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 ListMaintenanceEventsRequest.Builder copy(ListMaintenanceEventsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListMaintenanceEventsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListMaintenanceEventsRequest build()
Build the instance of ListMaintenanceEventsRequest 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<ListMaintenanceEventsRequest,Void>- Returns:
- instance of ListMaintenanceEventsRequest
-
buildWithoutInvocationCallback
public ListMaintenanceEventsRequest buildWithoutInvocationCallback()
Build the instance of ListMaintenanceEventsRequest 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 ListMaintenanceEventsRequest
-
-