Package com.oracle.bmc.database.requests
Class ListMaintenanceRunsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.database.requests.ListMaintenanceRunsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListMaintenanceRunsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/database/ListMaintenanceRunsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceRunsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListMaintenanceRunsRequest.Builder
static class
ListMaintenanceRunsRequest.SortBy
The field to sort by.static class
ListMaintenanceRunsRequest.SortOrder
The sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListMaintenanceRunsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListMaintenanceRunsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getAvailabilityDomain()
A filter to return only resources that match the given availability domain exactly.String
getCompartmentId()
The compartment OCID.Boolean
getIsLocalAdg()
A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.MaintenanceRunSummary.LifecycleState
getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.Integer
getLimit()
The maximum number of items to return per page.MaintenanceRunSummary.MaintenanceSubtype
getMaintenanceSubtype()
The sub-type of the maintenance run.MaintenanceRunSummary.MaintenanceType
getMaintenanceType()
The maintenance type.String
getPage()
The pagination token to continue listing from.ListMaintenanceRunsRequest.SortBy
getSortBy()
The field to sort by.ListMaintenanceRunsRequest.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).String
getTargetResourceId()
The target resource ID.MaintenanceRunSummary.TargetResourceType
getTargetResourceType()
The type of the target resource.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListMaintenanceRunsRequest.Builder
toBuilder()
Return an instance ofListMaintenanceRunsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getTargetResourceId
public String getTargetResourceId()
The target resource ID.
-
getTargetResourceType
public MaintenanceRunSummary.TargetResourceType getTargetResourceType()
The type of the target resource.
-
getMaintenanceType
public MaintenanceRunSummary.MaintenanceType getMaintenanceType()
The maintenance type.
-
getLimit
public Integer getLimit()
The maximum number of items to return per page.
-
getPage
public String getPage()
The pagination token to continue listing from.
-
getIsLocalAdg
public Boolean getIsLocalAdg()
A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
-
getSortBy
public ListMaintenanceRunsRequest.SortBy getSortBy()
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.
-
getSortOrder
public ListMaintenanceRunsRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getLifecycleState
public MaintenanceRunSummary.LifecycleState getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.
-
getAvailabilityDomain
public String getAvailabilityDomain()
A filter to return only resources that match the given availability domain exactly.
-
getMaintenanceSubtype
public MaintenanceRunSummary.MaintenanceSubtype getMaintenanceSubtype()
The sub-type of the maintenance run.
-
toBuilder
public ListMaintenanceRunsRequest.Builder toBuilder()
Return an instance ofListMaintenanceRunsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListMaintenanceRunsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListMaintenanceRunsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-