Class ListTemplatesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • opcRequestId

        public ListTemplatesRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

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

        public ListTemplatesRequest.Builder compartmentId​(String compartmentId)
        A filter to return only resources that exist in the compartment, identified by OCID.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • templateCategoryId

        public ListTemplatesRequest.Builder templateCategoryId​(String templateCategoryId)
        Unique identifier for the template category.

        Possible values are 0 (Quickstarts), 1 (Service), 2 (Architecture), and 3 (Private). Template category labels are displayed in the Console page listing templates. Quickstarts, Service, and Architecture templates (categories 0, 1, and 2) are available in all compartments. Each private template (category 3) is available in the compartment where it was created.

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

        public ListTemplatesRequest.Builder displayName​(String displayName)
        A filter to return only resources that match the given display name exactly.

        Use this filter to list a resource by name. Requires sortBy set to DISPLAYNAME. Alternatively, when you know the resource OCID, use the related Get operation.

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

        public ListTemplatesRequest.Builder sortBy​(ListTemplatesRequest.SortBy sortBy)
        The field to use when sorting returned resources.

        By default, TIMECREATED is ordered descending. By default, DISPLAYNAME is ordered ascending. Note that you can sort only on one field.

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

        public ListTemplatesRequest.Builder page​(String page)
        The value of the opc-next-page response header from the preceding List call.

        For information about pagination, see List Pagination.

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

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