public class DeleteDocumentClassifierRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will
be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.
Constructor and Description |
---|
DeleteDocumentClassifierRequest() |
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.
|
int |
hashCode() |
void |
setDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDocumentClassifierRequest |
withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
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.
public void setDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
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.
public DeleteDocumentClassifierRequest withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
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.
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.