@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationJobStoppingConditions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies conditions for stopping a job. When a job reaches a stopping condition limit, SageMaker ends the job.
Constructor and Description |
---|
RecommendationJobStoppingConditions() |
Modifier and Type | Method and Description |
---|---|
RecommendationJobStoppingConditions |
clone() |
boolean |
equals(Object obj) |
String |
getFlatInvocations()
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity.
|
Integer |
getMaxInvocations()
The maximum number of requests per minute expected for the endpoint.
|
List<ModelLatencyThreshold> |
getModelLatencyThresholds()
The interval of time taken by a model to respond as viewed from SageMaker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFlatInvocations(String flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity.
|
void |
setMaxInvocations(Integer maxInvocations)
The maximum number of requests per minute expected for the endpoint.
|
void |
setModelLatencyThresholds(Collection<ModelLatencyThreshold> modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationJobStoppingConditions |
withFlatInvocations(FlatInvocations flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity.
|
RecommendationJobStoppingConditions |
withFlatInvocations(String flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity.
|
RecommendationJobStoppingConditions |
withMaxInvocations(Integer maxInvocations)
The maximum number of requests per minute expected for the endpoint.
|
RecommendationJobStoppingConditions |
withModelLatencyThresholds(Collection<ModelLatencyThreshold> modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker.
|
RecommendationJobStoppingConditions |
withModelLatencyThresholds(ModelLatencyThreshold... modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker.
|
public void setMaxInvocations(Integer maxInvocations)
The maximum number of requests per minute expected for the endpoint.
maxInvocations
- The maximum number of requests per minute expected for the endpoint.public Integer getMaxInvocations()
The maximum number of requests per minute expected for the endpoint.
public RecommendationJobStoppingConditions withMaxInvocations(Integer maxInvocations)
The maximum number of requests per minute expected for the endpoint.
maxInvocations
- The maximum number of requests per minute expected for the endpoint.public List<ModelLatencyThreshold> getModelLatencyThresholds()
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
public void setModelLatencyThresholds(Collection<ModelLatencyThreshold> modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
modelLatencyThresholds
- The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local
communication time taken to send the request and to fetch the response from the container of a model and
the time taken to complete the inference in the container.public RecommendationJobStoppingConditions withModelLatencyThresholds(ModelLatencyThreshold... modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
NOTE: This method appends the values to the existing list (if any). Use
setModelLatencyThresholds(java.util.Collection)
or
withModelLatencyThresholds(java.util.Collection)
if you want to override the existing values.
modelLatencyThresholds
- The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local
communication time taken to send the request and to fetch the response from the container of a model and
the time taken to complete the inference in the container.public RecommendationJobStoppingConditions withModelLatencyThresholds(Collection<ModelLatencyThreshold> modelLatencyThresholds)
The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
modelLatencyThresholds
- The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local
communication time taken to send the request and to fetch the response from the container of a model and
the time taken to complete the inference in the container.public void setFlatInvocations(String flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity. The default value is Stop
. If you want the load test to continue after invocations
have flattened, set the value to Continue
.
flatInvocations
- Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance
has reached capacity. The default value is Stop
. If you want the load test to continue after
invocations have flattened, set the value to Continue
.FlatInvocations
public String getFlatInvocations()
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity. The default value is Stop
. If you want the load test to continue after invocations
have flattened, set the value to Continue
.
Stop
. If you want the load test to continue after
invocations have flattened, set the value to Continue
.FlatInvocations
public RecommendationJobStoppingConditions withFlatInvocations(String flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity. The default value is Stop
. If you want the load test to continue after invocations
have flattened, set the value to Continue
.
flatInvocations
- Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance
has reached capacity. The default value is Stop
. If you want the load test to continue after
invocations have flattened, set the value to Continue
.FlatInvocations
public RecommendationJobStoppingConditions withFlatInvocations(FlatInvocations flatInvocations)
Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has
reached capacity. The default value is Stop
. If you want the load test to continue after invocations
have flattened, set the value to Continue
.
flatInvocations
- Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance
has reached capacity. The default value is Stop
. If you want the load test to continue after
invocations have flattened, set the value to Continue
.FlatInvocations
public String toString()
toString
in class Object
Object.toString()
public RecommendationJobStoppingConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.