public class RealtimeEndpointInfo
extends java.lang.Object
implements java.io.Serializable
Describes the real-time endpoint information for an MLModel.
| Constructor and Description |
|---|
RealtimeEndpointInfo() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public java.lang.Integer getPeakRequestsPerSecond()
The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second.
The maximum processing rate for the real-time endpoint for
MLModel, measured in incoming requests per second.
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 RealtimeEndpointInfo withPeakRequestsPerSecond(java.lang.Integer peakRequestsPerSecond)
The maximum processing rate for the real-time endpoint for
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 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.
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 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 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.
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 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.
Constraints:
Length: - 2048
Pattern: https://[a-zA-Z0-9-.]*\.amazon(aws)?\.com[/]?
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 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.
Constraints:
Length: - 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(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 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 java.lang.String getEndpointStatus()
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for real-time
predictions.UPDATING - Updating/creating the endpoint.
Constraints:
Allowed Values: NONE, READY, UPDATING, FAILED
The current status of the real-time endpoint for the
MLModel. This element can have one of the following
values:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for
real-time predictions.UPDATING - Updating/creating the endpoint.RealtimeEndpointStatuspublic 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:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for real-time
predictions.UPDATING - Updating/creating the endpoint.
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:
NONE - Endpoint does not exist or was
previously deleted.READY - Endpoint is ready to be used for
real-time predictions.UPDATING - Updating/creating the endpoint.RealtimeEndpointStatuspublic 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:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for real-time
predictions.UPDATING - Updating/creating the endpoint.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:
NONE - Endpoint does not exist or was
previously deleted.READY - Endpoint is ready to be used for
real-time predictions.UPDATING - Updating/creating the endpoint.RealtimeEndpointStatuspublic void setEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for real-time
predictions.UPDATING - Updating/creating the endpoint.
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:
NONE - Endpoint does not exist or was
previously deleted.READY - Endpoint is ready to be used for
real-time predictions.UPDATING - Updating/creating the endpoint.RealtimeEndpointStatuspublic RealtimeEndpointInfo withEndpointStatus(RealtimeEndpointStatus endpointStatus)
The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
NONE - Endpoint does not exist or was previously
deleted.READY - Endpoint is ready to be used for real-time
predictions.UPDATING - Updating/creating the endpoint.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:
NONE - Endpoint does not exist or was
previously deleted.READY - Endpoint is ready to be used for
real-time predictions.UPDATING - Updating/creating the endpoint.RealtimeEndpointStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.