Class ListOccCustomerGroupsRequest


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

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

    • Constructor Detail

      • ListOccCustomerGroupsRequest

        public ListOccCustomerGroupsRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The ocid of the compartment or tenancy in which resources are to be listed.

        This will also be used for authorization purposes.

      • getDisplayName

        public String getDisplayName()
        A filter to return only the resources that match the entire display name.

        The match is not case sensitive.

      • getId

        public String getId()
        A query filter to return the list result based on the customer group OCID.

        This is done for users who have INSPECT permission but do not have READ permission.

      • getLimit

        public Integer getLimit()
        The maximum number of items to return.
      • getPage

        public String getPage()
        A token representing the position at which to start retrieving results.

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

      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.

        The only valid characters for request IDs are letters, numbers, underscore, and dash.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ‘ASC’ or ‘DESC’.
      • getSortBy

        public ListOccCustomerGroupsRequest.SortBy getSortBy()
        The field to sort by.

        Only one sort order may be provided. Default order for name and compartment ID is ascending. Default order for time created is descending.

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