public class DeleteProjectRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated with the project. To delete a model, see DeleteProjectVersion.
This operation requires permissions to perform the
rekognition:DeleteProject action.
| Constructor and Description |
|---|
DeleteProjectRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProjectArn()
The Amazon Resource Name (ARN) of the project that you want to delete.
|
int |
hashCode() |
void |
setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that you want to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteProjectRequest |
withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that you want to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getProjectArn()
The Amazon Resource Name (ARN) of the project 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}\/[0-9]+$)
The Amazon Resource Name (ARN) of the project that you want to delete.
public void setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project 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}\/[0-9]+$)
projectArn - The Amazon Resource Name (ARN) of the project that you want to delete.
public DeleteProjectRequest withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project 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}\/[0-9]+$)
projectArn - The Amazon Resource Name (ARN) of the project that you want to delete.
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.