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/latest/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 classListMaintenanceRunsRequest.Builderstatic classListMaintenanceRunsRequest.SortByThe field to sort by.static classListMaintenanceRunsRequest.SortOrderThe 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.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAvailabilityDomain()A filter to return only resources that match the given availability domain exactly.StringgetCompartmentId()The compartment OCID.BooleangetIsLocalAdg()A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.MaintenanceRunSummary.LifecycleStategetLifecycleState()A filter to return only resources that match the given lifecycle state exactly.IntegergetLimit()The maximum number of items to return per page.MaintenanceRunSummary.MaintenanceSubtypegetMaintenanceSubtype()The sub-type of the maintenance run.MaintenanceRunSummary.MaintenanceTypegetMaintenanceType()The maintenance type.StringgetPage()The pagination token to continue listing from.ListMaintenanceRunsRequest.SortBygetSortBy()The field to sort by.ListMaintenanceRunsRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).StringgetTargetResourceId()The target resource ID.MaintenanceRunSummary.TargetResourceTypegetTargetResourceType()The type of the target resource.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListMaintenanceRunsRequest.BuildertoBuilder()Return an instance ofListMaintenanceRunsRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListMaintenanceRunsRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-