Class ListCcdCommitmentsRequest


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

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

    • Constructor Detail

      • ListCcdCommitmentsRequest

        public ListCcdCommitmentsRequest()
    • Method Detail

      • getSubscriptionId

        public String getSubscriptionId()
        The subscription ID associated with the CCD offer.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment (remember that the tenancy is simply the root compartment).
      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

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

      • getPage

        public String getPage()
        The value of the opc-next-page response header from the previous “List” call.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a paginated “List” call.
      • getLifecycleState

        public CcdCommitment.LifecycleState getLifecycleState()
        The lifecycle of a CCD commitment that’s being requested, which always defaults to Active.

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

      • getLifecycleDetails

        public CcdCommitment.LifecycleDetails getLifecycleDetails()
        The lifecycle details of a CCD commitment that’s being requested.

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

      • getSourceType

        public CcdOffer.SourceType getSourceType()
        Filter CCD offers or commitments by the commercial workflow that created the associated offer.
      • getDisplayName

        public String getDisplayName()
        Filter by the resource display name.
      • getSortBy

        public ListCcdCommitmentsRequest.SortBy getSortBy()
        The sort by field to use, whether “DISPLAYNAME” or “TIMECREATED”.

        By default, it is TIMECREATED.

      • 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>