public class StopTrainingEntityRecognizerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING, the job is marked for
termination and put into the STOP_REQUESTED state. If the
training job completes before it can be stopped, it is put into the
TRAINED; otherwise the training job is stopped and putted into
the STOPPED state and the service sends back an HTTP 200
response with an empty HTTP body.
| Constructor and Description |
|---|
StopTrainingEntityRecognizerRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEntityRecognizerArn()
The Amazon Resource Name (ARN) that identifies the entity recognizer
currently being trained.
|
int |
hashCode() |
void |
setEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer
currently being trained.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopTrainingEntityRecognizerRequest |
withEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer
currently being trained.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getEntityRecognizerArn()
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:entity
-recognizer/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
public void setEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:entity
-recognizer/[a-zA-Z0-9](-*[a-zA-Z0-9])*
entityRecognizerArn - The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
public StopTrainingEntityRecognizerRequest withEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:entity
-recognizer/[a-zA-Z0-9](-*[a-zA-Z0-9])*
entityRecognizerArn - The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
public 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.