Class ListMaintenanceRunsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20251101")
    public class ListMaintenanceRunsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datacc/ListMaintenanceRunsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMaintenanceRunsRequest.

    • Constructor Detail

      • ListMaintenanceRunsRequest

        public ListMaintenanceRunsRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.

        For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller’s tenant and then treated as tenant scope (compartmentId filtering is not applied).

      • getDisplayName

        public String getDisplayName()
        A filter to return resources that match the entire display name given.

        The match is case sensitive.

      • getInfrastructureId

        public String getInfrastructureId()
        The Database Infrastructure ID.
      • getTargetResourceType

        public TargetResourceTypeEnum getTargetResourceType()
        The type of the target resource.
      • getLifecycleState

        public MaintenanceRunLifecycleState getLifecycleState()
        A filter to return only resources that match the given lifecycle state exactly.
      • getMaintenanceSubtype

        public MaintenanceSubtypeEnum getMaintenanceSubtype()
        The sub-type of the maintenance run.
      • getTimeAcceptedLessThanOrEqualTo

        public Date getTimeAcceptedLessThanOrEqualTo()
        Filter maintenance run for before given time.
      • getTimeAcceptedGreaterThanOrEqualTo

        public Date getTimeAcceptedGreaterThanOrEqualTo()
        Filter maintenance run for after given time.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a page.
      • getPage

        public String getPage()
        The page token representing the page at which you want to start retrieving results.

        This token is usually retrieved from a previous list call.

      • getSortBy

        public ListMaintenanceRunsRequest.SortBy getSortBy()
        The field by which you want to sort.

        You can provide only one type of sort order. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified, then timeCreated is the default. When listing software images within the same version, using sortBy=buildIdentifier is recommended. buildIdentifier is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order that you want to use, which is either ASC or DESC.
      • getOpcRequestId

        public String getOpcRequestId()
        The client request identifier.
      • 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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>