public class DeleteEntityRecognizerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes an entity recognizer.
Only those recognizers 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 recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
Constructor and Description |
---|
DeleteEntityRecognizerRequest() |
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.
|
int |
hashCode() |
void |
setEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteEntityRecognizerRequest |
withEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getEntityRecognizerArn()
The Amazon Resource Name (ARN) that identifies the entity recognizer.
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.
public void setEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer.
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.
public DeleteEntityRecognizerRequest withEntityRecognizerArn(java.lang.String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer.
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.
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.