public class RealtimeEndpointInfo extends Object implements Serializable, Cloneable
Describes the real-time endpoint information for an
MLModel .
| Constructor and Description |
|---|
RealtimeEndpointInfo() |
| Modifier and Type | Method and Description |
|---|---|
RealtimeEndpointInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time that the request to create the real-time endpoint for the
MLModel was received. |
String |
getEndpointStatus()
The current status of the real-time endpoint for the
MLModel. |
String |
getEndpointUrl()
The URI that specifies where to send real-time prediction requests for
the
MLModel. |
Integer |
getPeakRequestsPerSecond()
The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second. |
int |
hashCode() |
void |
setCreatedAt(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(String endpointStatus)
The current status of the real-time endpoint for the
MLModel. |
void |
setEndpointUrl(String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the
MLModel. |
void |
setPeakRequestsPerSecond(Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RealtimeEndpointInfo |
withCreatedAt(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(String endpointStatus)
The current status of the real-time endpoint for the
MLModel. |
RealtimeEndpointInfo |
withEndpointUrl(String endpointUrl)
The URI that specifies where to send real-time prediction requests for
the
MLModel. |
RealtimeEndpointInfo |
withPeakRequestsPerSecond(Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second. |
public Integer getPeakRequestsPerSecond()
MLModel, measured in incoming requests per second.MLModel, measured in incoming requests per second.public void setPeakRequestsPerSecond(Integer peakRequestsPerSecond)
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 RealtimeEndpointInfo withPeakRequestsPerSecond(Integer peakRequestsPerSecond)
MLModel, measured in incoming requests per second.
Returns a reference to this object so that method calls can be chained together.
peakRequestsPerSecond - The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second.public Date getCreatedAt()
MLModel was received. The time is expressed in epoch
time.MLModel was received. The time is expressed in epoch
time.public void setCreatedAt(Date createdAt)
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 RealtimeEndpointInfo withCreatedAt(Date createdAt)
MLModel was received. The time is expressed in epoch
time.
Returns a reference to this object so that method calls can be chained together.
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 String getEndpointUrl()
MLModel. The application must wait until the real-time endpoint is ready before using this URI.
Constraints:
Length: 0 - 2048
Pattern: https://[a-zA-Z0-9-.]*\.amazon(aws)?\.com[/]?
MLModel. The application must wait until the real-time endpoint is ready before using this URI.
public void setEndpointUrl(String endpointUrl)
MLModel. The application must wait until the real-time endpoint is ready before using this URI.
Constraints:
Length: 0 - 2048
Pattern: https://[a-zA-Z0-9-.]*\.amazon(aws)?\.com[/]?
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 RealtimeEndpointInfo withEndpointUrl(String endpointUrl)
MLModel. The application must wait until the real-time endpoint is ready before using this URI.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
Pattern: https://[a-zA-Z0-9-.]*\.amazon(aws)?\.com[/]?
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 String getEndpointStatus()
MLModel. This element can have one of the following
values:
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
MLModel. This element can have one of the following
values: RealtimeEndpointStatuspublic void setEndpointStatus(String endpointStatus)
MLModel. This element can have one of the following
values:
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
endpointStatus - The current status of the real-time endpoint for the
MLModel. This element can have one of the following
values: RealtimeEndpointStatuspublic RealtimeEndpointInfo withEndpointStatus(String endpointStatus)
MLModel. This element can have one of the following
values: Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
endpointStatus - The current status of the real-time endpoint for the
MLModel. This element can have one of the following
values: RealtimeEndpointStatuspublic void setEndpointStatus(RealtimeEndpointStatus endpointStatus)
MLModel. This element can have one of the following
values:
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
endpointStatus - The current status of the real-time endpoint for the
MLModel. This element can have one of the following
values: RealtimeEndpointStatuspublic RealtimeEndpointInfo withEndpointStatus(RealtimeEndpointStatus endpointStatus)
MLModel. This element can have one of the following
values: Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
endpointStatus - The current status of the real-time endpoint for the
MLModel. This element can have one of the following
values: RealtimeEndpointStatuspublic String toString()
toString in class ObjectObject.toString()public RealtimeEndpointInfo clone()
Copyright © 2015. All rights reserved.