Class CreateRealtimeEndpointResult

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class CreateRealtimeEndpointResult
    extends Object
    implements Serializable, Cloneable

    Represents the output of an CreateRealtimeEndpoint operation.

    The result contains the MLModelId and the endpoint information for the MLModel.

    The endpoint information includes the URI of the MLModel; that is, the location to send online prediction requests for the specified MLModel.

    See Also:
    Serialized Form
    • Constructor Detail

      • CreateRealtimeEndpointResult

        public CreateRealtimeEndpointResult()
    • Method Detail

      • setMLModelId

        public void setMLModelId​(String mLModelId)

        A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.

        Parameters:
        mLModelId - A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.
      • getMLModelId

        public String getMLModelId()

        A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.

        Returns:
        A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.
      • withMLModelId

        public CreateRealtimeEndpointResult withMLModelId​(String mLModelId)

        A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.

        Parameters:
        mLModelId - A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRealtimeEndpointInfo

        public void setRealtimeEndpointInfo​(RealtimeEndpointInfo realtimeEndpointInfo)

        The endpoint information of the MLModel

        Parameters:
        realtimeEndpointInfo - The endpoint information of the MLModel
      • getRealtimeEndpointInfo

        public RealtimeEndpointInfo getRealtimeEndpointInfo()

        The endpoint information of the MLModel

        Returns:
        The endpoint information of the MLModel
      • withRealtimeEndpointInfo

        public CreateRealtimeEndpointResult withRealtimeEndpointInfo​(RealtimeEndpointInfo realtimeEndpointInfo)

        The endpoint information of the MLModel

        Parameters:
        realtimeEndpointInfo - The endpoint information of the MLModel
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object