Class PredictRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20240424")
    public class PredictRequest
    extends BmcRequest<String>

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

    • Constructor Detail

      • PredictRequest

        public PredictRequest()
    • Method Detail

      • getModelDeploymentId

        public String getModelDeploymentId()
        The OCID of the model deployment.
      • getRequestBody

        public String getRequestBody()
        Input data details for making a prediction call
      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle identifier for request
      • getBody$

        public String getBody$()
        Alternative accessor for the body parameter.
        Overrides:
        getBody$ in class BmcRequest<String>
        Returns:
        body parameter
      • builder

        public static PredictRequest.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<String>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<String>