Class ListEndpointsRequest


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

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

    • Constructor Detail

      • ListEndpointsRequest

        public ListEndpointsRequest()
    • Method Detail

      • getCompartmentId

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

        public String getEndpointId()
        The OCID of the endpoint.
      • getProjectId

        public String getProjectId()
        The ID of the project for which to list the objects.
      • getDisplayName

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

        public String getModelId()
        The ID of the trained model for which to list the endpoints.
      • getLifecycleState

        public Endpoint.LifecycleState getLifecycleState()

        Filter results by the specified lifecycle state.

        Must be a valid state for the resource type.

      • getLimit

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

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

        This is usually retrieved from a previous list call.

      • getSortOrder

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

        public ListEndpointsRequest.SortBy getSortBy()
        Specifies the field to sort by.

        Accepts only one field. By default, when you sort by timeCreated, the results are shown in descending order. When you sort by displayName, the results are shown in ascending order. Sort order for the displayName field is case sensitive.

      • getOpcRequestId

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

        public static ListEndpointsRequest.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>