/* * Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.machinelearning.model; import java.io.Serializable; /** *
* Describes the real-time endpoint information for an MLModel
.
*
* The maximum processing rate for the real-time endpoint for
* MLModel
, measured in incoming requests per second.
*
* The time that the request to create the real-time endpoint for the
* MLModel
was received. The time is expressed in epoch time.
*
* The URI that specifies where to send real-time prediction requests for
* the MLModel
.
*
* Note: 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[/]?
*/
private String endpointUrl;
/**
*
* 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
*/
private String endpointStatus;
/**
*
* 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.
*
* 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.
*
* 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. * * @param peakRequestsPerSecond
* The maximum processing rate for the real-time endpoint for
* MLModel
, measured in incoming requests per
* second.
*
* 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.
*
* 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.
*
* 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. * * @param createdAt
* The time that the request to create the real-time endpoint for
* the MLModel
was received. The time is expressed
* in epoch time.
*
* The URI that specifies where to send real-time prediction requests for
* the MLModel
.
*
* Note: 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[/]?
*
* @return
* The URI that specifies where to send real-time prediction
* requests for the MLModel
.
*
* Note: The application must wait until the real-time * endpoint is ready before using this URI. *
*/ public String getEndpointUrl() { return endpointUrl; } /** *
* The URI that specifies where to send real-time prediction requests for
* the MLModel
.
*
* Note: 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[/]?
*
* @param endpointUrl
* The URI that specifies where to send real-time prediction
* requests for the MLModel
.
*
* Note: The application must wait until the real-time * endpoint is ready before using this URI. *
*/ public void setEndpointUrl(String endpointUrl) { this.endpointUrl = endpointUrl; } /** *
* The URI that specifies where to send real-time prediction requests for
* the MLModel
.
*
* Note: 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[/]?
*
* @param endpointUrl
* The URI that specifies where to send real-time prediction
* requests for the MLModel
.
*
* Note: The application must wait until the real-time * endpoint is ready before using this URI. *
* @return A reference to this updated object so that method calls can be * chained together. */ public RealtimeEndpointInfo withEndpointUrl(String endpointUrl) { this.endpointUrl = endpointUrl; return this; } /** *
* 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
*
* @return
* 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*
* 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
*
* @param 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.
*