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