Package com.oracle.bmc.database.requests
Class ListMaintenanceRunHistoryRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.database.requests.ListMaintenanceRunHistoryRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListMaintenanceRunHistoryRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.77.0/database/ListMaintenanceRunHistoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceRunHistoryRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListMaintenanceRunHistoryRequest.Builderstatic classListMaintenanceRunHistoryRequest.SortByThe field to sort by.static classListMaintenanceRunHistoryRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListMaintenanceRunHistoryRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListMaintenanceRunHistoryRequest.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.MaintenanceRunSummary.LifecycleStategetLifecycleState()The state of the maintenance run history.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.ListMaintenanceRunHistoryRequest.SortBygetSortBy()The field to sort by.ListMaintenanceRunHistoryRequest.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.ListMaintenanceRunHistoryRequest.BuildertoBuilder()Return an instance ofListMaintenanceRunHistoryRequest.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.
-
getSortBy
public ListMaintenanceRunHistoryRequest.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 ListMaintenanceRunHistoryRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getLifecycleState
public MaintenanceRunSummary.LifecycleState getLifecycleState()
The state of the maintenance run history.
-
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 ListMaintenanceRunHistoryRequest.Builder toBuilder()
Return an instance ofListMaintenanceRunHistoryRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListMaintenanceRunHistoryRequest.Builderthat allows you to modify request properties.
-
builder
public static ListMaintenanceRunHistoryRequest.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>
-
-