Package com.oracle.bmc.database.requests
Class ListMaintenanceRunsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.requests.ListMaintenanceRunsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListMaintenanceRunsRequest,Void>
 - Enclosing class:
- ListMaintenanceRunsRequest
 
 public static class ListMaintenanceRunsRequest.Builder extends Object implements BmcRequest.Builder<ListMaintenanceRunsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMaintenanceRunsRequest.BuilderavailabilityDomain(String availabilityDomain)A filter to return only resources that match the given availability domain exactly.ListMaintenanceRunsRequestbuild()Build the instance of ListMaintenanceRunsRequest as configured by this builderListMaintenanceRunsRequestbuildWithoutInvocationCallback()Build the instance of ListMaintenanceRunsRequest as configured by this builderListMaintenanceRunsRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListMaintenanceRunsRequest.Buildercopy(ListMaintenanceRunsRequest o)Copy method to populate the builder with values from the given instance.ListMaintenanceRunsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListMaintenanceRunsRequest.BuilderisLocalAdg(Boolean isLocalAdg)A filter to return the maintenance history results for the local standby Autonomous AI Database Serverless only.ListMaintenanceRunsRequest.BuilderlifecycleState(MaintenanceRunSummary.LifecycleState lifecycleState)A filter to return only resources that match the given lifecycle state exactly.ListMaintenanceRunsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListMaintenanceRunsRequest.BuildermaintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype)The sub-type of the maintenance run.ListMaintenanceRunsRequest.BuildermaintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType)The maintenance type.ListMaintenanceRunsRequest.Builderpage(String page)The pagination token to continue listing from.ListMaintenanceRunsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListMaintenanceRunsRequest.BuildersortBy(ListMaintenanceRunsRequest.SortBy sortBy)The field to sort by.ListMaintenanceRunsRequest.BuildersortOrder(ListMaintenanceRunsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListMaintenanceRunsRequest.BuildertargetResourceId(String targetResourceId)The target resource ID.ListMaintenanceRunsRequest.BuildertargetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType)The type of the target resource.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListMaintenanceRunsRequest.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
targetResourceIdpublic ListMaintenanceRunsRequest.Builder targetResourceId(String targetResourceId) The target resource ID.- Parameters:
- targetResourceId- the value to set
- Returns:
- this builder instance
 
 - 
targetResourceTypepublic ListMaintenanceRunsRequest.Builder targetResourceType(MaintenanceRunSummary.TargetResourceType targetResourceType) The type of the target resource.- Parameters:
- targetResourceType- the value to set
- Returns:
- this builder instance
 
 - 
maintenanceTypepublic ListMaintenanceRunsRequest.Builder maintenanceType(MaintenanceRunSummary.MaintenanceType maintenanceType) The maintenance type.- Parameters:
- maintenanceType- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListMaintenanceRunsRequest.Builder limit(Integer limit) The maximum number of items to return per page.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListMaintenanceRunsRequest.Builder page(String page) The pagination token to continue listing from.- Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
isLocalAdgpublic ListMaintenanceRunsRequest.Builder isLocalAdg(Boolean isLocalAdg) A filter to return the maintenance history results for the local standby Autonomous AI Database Serverless only.- Parameters:
- isLocalAdg- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListMaintenanceRunsRequest.Builder sortBy(ListMaintenanceRunsRequest.SortBy sortBy) The field to sort by.You can provide one sort order (sortOrder). Default order for TIME_SCHEDULED and TIME_ENDED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. *Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListMaintenanceRunsRequest.Builder sortOrder(ListMaintenanceRunsRequest.SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListMaintenanceRunsRequest.Builder lifecycleState(MaintenanceRunSummary.LifecycleState lifecycleState) A filter to return only resources that match the given lifecycle state exactly.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
availabilityDomainpublic ListMaintenanceRunsRequest.Builder availabilityDomain(String availabilityDomain) A filter to return only resources that match the given availability domain exactly.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder instance
 
 - 
maintenanceSubtypepublic ListMaintenanceRunsRequest.Builder maintenanceSubtype(MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype) The sub-type of the maintenance run.- Parameters:
- maintenanceSubtype- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListMaintenanceRunsRequest.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
 
 - 
retryConfigurationpublic ListMaintenanceRunsRequest.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
 
 - 
copypublic ListMaintenanceRunsRequest.Builder copy(ListMaintenanceRunsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListMaintenanceRunsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListMaintenanceRunsRequest build() Build the instance of ListMaintenanceRunsRequest 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 interface- BmcRequest.Builder<ListMaintenanceRunsRequest,Void>
- Returns:
- instance of ListMaintenanceRunsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListMaintenanceRunsRequest buildWithoutInvocationCallback() Build the instance of ListMaintenanceRunsRequest 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 ListMaintenanceRunsRequest
 
 
- 
 
-