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, withRequestMetricCollector
public 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.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.