Class ListPatchesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListPatchesRequest.Builder compartmentId​(String compartmentId)
        The ID of the compartment in which to list resources.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • productId

        public ListPatchesRequest.Builder productId​(String productId)
        Product platformConfigurationId associated with the Patch.
        Parameters:
        productId - the value to set
        Returns:
        this builder instance
      • patchTypeId

        public ListPatchesRequest.Builder patchTypeId​(String patchTypeId)
        Patch Type platformConfigurationId associated with the Patch.
        Parameters:
        patchTypeId - the value to set
        Returns:
        this builder instance
      • name

        public ListPatchesRequest.Builder name​(String name)
        A filter to return only resources that match the entire name given.
        Parameters:
        name - the value to set
        Returns:
        this builder instance
      • timeReleasedGreaterThanOrEqualTo

        public ListPatchesRequest.Builder timeReleasedGreaterThanOrEqualTo​(Date timeReleasedGreaterThanOrEqualTo)
        Patch Released Date
        Parameters:
        timeReleasedGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • timeReleasedLessThan

        public ListPatchesRequest.Builder timeReleasedLessThan​(Date timeReleasedLessThan)
        Patch Released Date
        Parameters:
        timeReleasedLessThan - the value to set
        Returns:
        this builder instance
      • shouldCompliancePolicyRulesBeApplied

        public ListPatchesRequest.Builder shouldCompliancePolicyRulesBeApplied​(Boolean shouldCompliancePolicyRulesBeApplied)
        Filter patch based on compliance policy rules for the Product
        Parameters:
        shouldCompliancePolicyRulesBeApplied - the value to set
        Returns:
        this builder instance
      • limit

        public ListPatchesRequest.Builder limit​(Integer limit)
        The maximum number of items to return.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListPatchesRequest.Builder page​(String page)
        A token representing the position at which to start retrieving results.

        This must come from the opc-next-page header field of a previous response.

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

        public ListPatchesRequest.Builder sortBy​(ListPatchesRequest.SortBy sortBy)
        The field to sort by.

        Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.

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

        public ListPatchesRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use, either ‘ASC’ or ‘DESC’.
        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • opcRequestId

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

        public ListPatchesRequest.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 ListPatchesRequest.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