Class ListMaintenanceRunsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListMaintenanceRunsRequest.Builder compartmentId​(String compartmentId)
        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).

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • displayName

        public ListMaintenanceRunsRequest.Builder displayName​(String displayName)
        A filter to return resources that match the entire display name given.

        The match is case sensitive.

        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • infrastructureId

        public ListMaintenanceRunsRequest.Builder infrastructureId​(String infrastructureId)
        The Database Infrastructure ID.
        Parameters:
        infrastructureId - the value to set
        Returns:
        this builder instance
      • timeAcceptedLessThanOrEqualTo

        public ListMaintenanceRunsRequest.Builder timeAcceptedLessThanOrEqualTo​(Date timeAcceptedLessThanOrEqualTo)
        Filter maintenance run for before given time.
        Parameters:
        timeAcceptedLessThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • timeAcceptedGreaterThanOrEqualTo

        public ListMaintenanceRunsRequest.Builder timeAcceptedGreaterThanOrEqualTo​(Date timeAcceptedGreaterThanOrEqualTo)
        Filter maintenance run for after given time.
        Parameters:
        timeAcceptedGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • page

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

        This token is usually retrieved from a previous list call.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListMaintenanceRunsRequest.Builder sortBy​(ListMaintenanceRunsRequest.SortBy sortBy)
        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.

        Parameters:
        sortBy - the value to set
        Returns:
        this builder instance
      • sortOrder

        public ListMaintenanceRunsRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order that you want to use, which is either ASC or DESC.
        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListMaintenanceRunsRequest.Builder opcRequestId​(String opcRequestId)
        The client request identifier.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListMaintenanceRunsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListMaintenanceRunsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance