Class ListInfrastructuresRequest


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

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

    • Constructor Detail

      • ListInfrastructuresRequest

        public ListInfrastructuresRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.

        For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller’s tenant and then treated as tenant scope (compartmentId filtering is not applied).

      • getDisplayName

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

        The match is case sensitive.

      • getLimit

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

        public String getPage()
        The page token representing the page at which you want to start retrieving results.

        This token is usually retrieved from a previous list call.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order that you want to use, which is either ASC or DESC.
      • getSortBy

        public ListInfrastructuresRequest.SortBy getSortBy()
        The field by which you want to sort.

        You can provide only one type of sort order. The default order for timeCreated is descending. The default order for displayName is ascending. If no value is specified, then timeCreated is the default. When listing software images within the same version, using sortBy=buildIdentifier is recommended. buildIdentifier is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.

      • getOpcRequestId

        public String getOpcRequestId()
        The client request identifier.
      • 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>