Class ListSandboxesRequest


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

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

    • Constructor Detail

      • ListSandboxesRequest

        public ListSandboxesRequest()
    • Method Detail

      • 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. The only valid characters for request IDs are letters, numbers, underscore, and dash.

      • getProjectId

        public String getProjectId()
        The project identifier used to filter listed sandbox resources.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment in which to list resources.
      • getSandboxId

        public String getSandboxId()
        Sandbox identifier used to filter listed sandbox resources.

        Newly generated Sandbox IDs use sbx- followed by 16 lowercase base32 characters (a-z2-7); existing legacy IDs remain accepted.

      • getDisplayName

        public String getDisplayName()
        Sandbox display name used to filter listed sandbox resources.
      • getLifecycleState

        public Sandbox.LifecycleState getLifecycleState()
        A filter to return only resources whose state matches the given state.
      • getSortBy

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

        Only one sort order may be provided. Default order for timeCreated is ascending.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ascending (ASC) or descending (DESC).
      • 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.
      • builder

        public static ListSandboxesRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • 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>