public class StopTrainingDocumentClassifierRequest extends AmazonWebServiceRequest implements java.io.Serializable
Stops a document classifier 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 put into the
STOPPED
state and the service sends back an HTTP 200 response
with an empty HTTP body.
Constructor and Description |
---|
StopTrainingDocumentClassifierRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier
currently being trained.
|
int |
hashCode() |
void |
setDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier
currently being trained.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopTrainingDocumentClassifierRequest |
withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier
currently being trained.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public StopTrainingDocumentClassifierRequest()
public java.lang.String getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
public void setDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
public StopTrainingDocumentClassifierRequest withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier 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}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.