public class RealtimeEndpointInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the real-time endpoint information for an MLModel
.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createdAt
The time that the request to create the real-time endpoint for the
MLModel was received. |
private java.lang.String |
endpointStatus
The current status of the real-time endpoint for the
MLModel
. |
private java.lang.String |
endpointUrl
The URI that specifies where to send real-time prediction requests for
the
MLModel . |
private java.lang.Integer |
peakRequestsPerSecond
The maximum processing rate for the real-time endpoint for
MLModel , measured in incoming requests per second. |
Constructor and Description |
---|
RealtimeEndpointInfo() |
Modifier and Type | Method and Description |
---|---|
RealtimeEndpointInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedAt()
The time that the request to create the real-time endpoint for the
MLModel was received. |
java.lang.String |
getEndpointStatus()
The current status of the real-time endpoint for the
MLModel
. |
java.lang.String |
getEndpointUrl()
The URI that specifies where to send real-time prediction requests for
the
MLModel . |
java.lang.Integer |
getPeakRequestsPerSecond()
The maximum processing rate for the real-time endpoint for
MLModel , measured in incoming requests per second. |
int |
hashCode() |
void |
setCreatedAt(java.util.Date createdAt)
The time that the request to create the real-time endpoint for the
MLModel was received. |
void |
setEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the
MLModel
. |
void |
setEndpointStatus(java.lang.String endpointStatus)
The current status of the real-time endpoint for the
MLModel
. |
void |
setEndpointUrl(java.lang.String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the
MLModel . |
void |
setPeakRequestsPerSecond(java.lang.Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel , measured in incoming requests per second. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RealtimeEndpointInfo |
withCreatedAt(java.util.Date createdAt)
The time that the request to create the real-time endpoint for the
MLModel was received. |
RealtimeEndpointInfo |
withEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the
MLModel
. |
RealtimeEndpointInfo |
withEndpointStatus(java.lang.String endpointStatus)
The current status of the real-time endpoint for the
MLModel
. |
RealtimeEndpointInfo |
withEndpointUrl(java.lang.String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the
MLModel . |
RealtimeEndpointInfo |
withPeakRequestsPerSecond(java.lang.Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel , measured in incoming requests per second. |
private java.lang.Integer peakRequestsPerSecond
The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.
private java.util.Date createdAt
The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch time.
private java.lang.String endpointUrl
The URI that specifies where to send real-time prediction requests for
the MLModel
.
The application must wait until the real-time endpoint is ready before using this URI.
private java.lang.String endpointStatus
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
public void setPeakRequestsPerSecond(java.lang.Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.
peakRequestsPerSecond
- The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.public java.lang.Integer getPeakRequestsPerSecond()
The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.
MLModel
, measured in incoming requests per second.public RealtimeEndpointInfo withPeakRequestsPerSecond(java.lang.Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.
peakRequestsPerSecond
- The maximum processing rate for the real-time endpoint for
MLModel
, measured in incoming requests per second.public void setCreatedAt(java.util.Date createdAt)
The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch time.
createdAt
- The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch
time.public java.util.Date getCreatedAt()
The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch time.
MLModel
was received. The time is expressed in
epoch time.public RealtimeEndpointInfo withCreatedAt(java.util.Date createdAt)
The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch time.
createdAt
- The time that the request to create the real-time endpoint for the
MLModel
was received. The time is expressed in epoch
time.public void setEndpointUrl(java.lang.String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the MLModel
.
The application must wait until the real-time endpoint is ready before using this URI.
endpointUrl
- The URI that specifies where to send real-time prediction requests
for the MLModel
. The application must wait until the real-time endpoint is ready before using this URI.
public java.lang.String getEndpointUrl()
The URI that specifies where to send real-time prediction requests for
the MLModel
.
The application must wait until the real-time endpoint is ready before using this URI.
MLModel
.
The application must wait until the real-time endpoint is ready before using this URI.
public RealtimeEndpointInfo withEndpointUrl(java.lang.String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the MLModel
.
The application must wait until the real-time endpoint is ready before using this URI.
endpointUrl
- The URI that specifies where to send real-time prediction requests
for the MLModel
. The application must wait until the real-time endpoint is ready before using this URI.
public void setEndpointStatus(java.lang.String endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
endpointStatus
- The current status of the real-time endpoint for the
MLModel
. This element can have one of the following
values:
RealtimeEndpointStatus
public java.lang.String getEndpointStatus()
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
MLModel
. This element can have one of the following
values:
RealtimeEndpointStatus
public RealtimeEndpointInfo withEndpointStatus(java.lang.String endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
endpointStatus
- The current status of the real-time endpoint for the
MLModel
. This element can have one of the following
values:
RealtimeEndpointStatus
public void setEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
endpointStatus
- The current status of the real-time endpoint for the
MLModel
. This element can have one of the following
values:
RealtimeEndpointStatus
public RealtimeEndpointInfo withEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
endpointStatus
- The current status of the real-time endpoint for the
MLModel
. This element can have one of the following
values:
RealtimeEndpointStatus
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 RealtimeEndpointInfo clone()
clone
in class java.lang.Object