public class DeleteProjectVersionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes an Amazon Rekognition Custom Labels model.
You can't delete a model if it is running or if it is training. To check the
status of a model, use the Status
field returned from
DescribeProjectVersions. To stop a running model call
StopProjectVersion. If the model is training, wait until it finishes.
This operation requires permissions to perform the
rekognition:DeleteProjectVersion
action.
Constructor and Description |
---|
DeleteProjectVersionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version that you want to
delete.
|
int |
hashCode() |
void |
setProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to
delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteProjectVersionRequest |
withProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to
delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getProjectVersionArn()
The Amazon Resource Name (ARN) of the model version that you want to delete.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
The Amazon Resource Name (ARN) of the model version that you want to delete.
public void setProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to delete.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
projectVersionArn
- The Amazon Resource Name (ARN) of the model version that you want to delete.
public DeleteProjectVersionRequest withProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to delete.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
(^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA
-Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
projectVersionArn
- The Amazon Resource Name (ARN) of the model version that you want to delete.
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.