public class StopProjectVersionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
Constructor and Description |
---|
StopProjectVersionRequest() |
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.
|
StopProjectVersionRequest |
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.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
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.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
public void setProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
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.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
public StopProjectVersionRequest withProjectVersionArn(java.lang.String projectVersionArn)
The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
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.
This operation requires permissions to perform the
rekognition:StopProjectVersion
action.
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.