public class CreateRealtimeEndpointResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
mLModelId
A user-supplied ID that uniquely identifies the
MLModel . |
private RealtimeEndpointInfo |
realtimeEndpointInfo
The endpoint information of the
MLModel |
Constructor and Description |
---|
CreateRealtimeEndpointResult() |
Modifier and Type | Method and Description |
---|---|
CreateRealtimeEndpointResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMLModelId()
A user-supplied ID that uniquely identifies the
MLModel . |
RealtimeEndpointInfo |
getRealtimeEndpointInfo()
The endpoint information of the
MLModel |
int |
hashCode() |
void |
setMLModelId(java.lang.String mLModelId)
A user-supplied ID that uniquely identifies the
MLModel . |
void |
setRealtimeEndpointInfo(RealtimeEndpointInfo realtimeEndpointInfo)
The endpoint information of the
MLModel |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRealtimeEndpointResult |
withMLModelId(java.lang.String mLModelId)
A user-supplied ID that uniquely identifies the
MLModel . |
CreateRealtimeEndpointResult |
withRealtimeEndpointInfo(RealtimeEndpointInfo realtimeEndpointInfo)
The endpoint information of the
MLModel |
private java.lang.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.
private RealtimeEndpointInfo realtimeEndpointInfo
The endpoint information of the MLModel
public void setMLModelId(java.lang.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.
mLModelId
- A user-supplied ID that uniquely identifies the
MLModel
. This value should be identical to the value
of the MLModelId
in the request.public java.lang.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.
MLModel
. This value should be identical to the value
of the MLModelId
in the request.public CreateRealtimeEndpointResult withMLModelId(java.lang.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.
mLModelId
- A user-supplied ID that uniquely identifies the
MLModel
. This value should be identical to the value
of the MLModelId
in the request.public void setRealtimeEndpointInfo(RealtimeEndpointInfo realtimeEndpointInfo)
The endpoint information of the MLModel
realtimeEndpointInfo
- The endpoint information of the MLModel
public RealtimeEndpointInfo getRealtimeEndpointInfo()
The endpoint information of the MLModel
MLModel
public CreateRealtimeEndpointResult withRealtimeEndpointInfo(RealtimeEndpointInfo realtimeEndpointInfo)
The endpoint information of the MLModel
realtimeEndpointInfo
- The endpoint information of the MLModel
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateRealtimeEndpointResult clone()
clone
in class java.lang.Object