Class ListCcdOffersRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • subscriptionId

        public ListCcdOffersRequest.Builder subscriptionId​(String subscriptionId)
        The subscription ID associated with the CCD offer.
        Parameters:
        subscriptionId - the value to set
        Returns:
        this builder instance
      • compartmentId

        public ListCcdOffersRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment (remember that the tenancy is simply the root compartment).
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListCcdOffersRequest.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
      • page

        public ListCcdOffersRequest.Builder page​(String page)
        The value of the opc-next-page response header from the previous “List” call.
        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • limit

        public ListCcdOffersRequest.Builder limit​(Integer limit)
        The maximum number of items to return in a paginated “List” call.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListCcdOffersRequest.Builder lifecycleState​(CcdOffer.LifecycleState lifecycleState)
        The life cycle of a CCD offer that’s being requested, which always defaults to Active.

        If you want to filter by scheduled, current, canceled, or ended, use the lifecycleDetails query parameter.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • lifecycleDetails

        public ListCcdOffersRequest.Builder lifecycleDetails​(CcdOffer.LifecycleDetails lifecycleDetails)
        The life cycle details of a CCD offer that’s being requested.

        The accepted values are Scheduled, Current, Canceled, or Ended. If a null or empty value is passed, it will return for all resources.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder instance
      • sourceType

        public ListCcdOffersRequest.Builder sourceType​(CcdOffer.SourceType sourceType)
        Filter CCD offers or commitments by the commercial workflow that created the associated offer.
        Parameters:
        sourceType - the value to set
        Returns:
        this builder instance
      • displayName

        public ListCcdOffersRequest.Builder displayName​(String displayName)
        Filter by the resource display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • invocationCallback

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