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.65.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 class
ListMaintenanceRunHistoryRequest.Builder
static class
ListMaintenanceRunHistoryRequest.SortBy
The field to sort by.static class
ListMaintenanceRunHistoryRequest.SortOrder
The 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.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.MaintenanceRunSummary.LifecycleState
getLifecycleState()
The state of the maintenance run history.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.ListMaintenanceRunHistoryRequest.SortBy
getSortBy()
The field to sort by.ListMaintenanceRunHistoryRequest.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.ListMaintenanceRunHistoryRequest.Builder
toBuilder()
Return an instance ofListMaintenanceRunHistoryRequest.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.
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
ListMaintenanceRunHistoryRequest.Builder
that 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: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>
-
-