public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists and describes the models in an Amazon Rekognition Custom Labels
project. You can specify up to 10 model versions in
ProjectVersionArns
. If you don't specify a value, descriptions
for all models are returned.
This operation requires permissions to perform the
rekognition:DescribeProjectVersions
action.
Constructor and Description |
---|
DescribeProjectVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to return per paginated call.
|
java.lang.String |
getNextToken()
If the previous response was incomplete (because there is more results to
retrieve), Amazon Rekognition Custom Labels returns a pagination token in
the response.
|
java.lang.String |
getProjectArn()
The Amazon Resource Name (ARN) of the project that contains the models
you want to describe.
|
java.util.List<java.lang.String> |
getVersionNames()
A list of model version names that you want to describe.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per paginated call.
|
void |
setNextToken(java.lang.String nextToken)
If the previous response was incomplete (because there is more results to
retrieve), Amazon Rekognition Custom Labels returns a pagination token in
the response.
|
void |
setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that contains the models
you want to describe.
|
void |
setVersionNames(java.util.Collection<java.lang.String> versionNames)
A list of model version names that you want to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeProjectVersionsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per paginated call.
|
DescribeProjectVersionsRequest |
withNextToken(java.lang.String nextToken)
If the previous response was incomplete (because there is more results to
retrieve), Amazon Rekognition Custom Labels returns a pagination token in
the response.
|
DescribeProjectVersionsRequest |
withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that contains the models
you want to describe.
|
DescribeProjectVersionsRequest |
withVersionNames(java.util.Collection<java.lang.String> versionNames)
A list of model version names that you want to describe.
|
DescribeProjectVersionsRequest |
withVersionNames(java.lang.String... versionNames)
A list of model version names that you want to describe.
|
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 contains the models you want to describe.
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 contains the models you want to describe.
public void setProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that contains the models you want to describe.
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 contains the models you want to describe.
public DescribeProjectVersionsRequest withProjectArn(java.lang.String projectArn)
The Amazon Resource Name (ARN) of the project that contains the models you want to describe.
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 contains the models you want to describe.
public java.util.List<java.lang.String> getVersionNames()
A list of model version names that you want to describe. You can add up
to 10 model version names to the list. If you don't specify a value, all
model descriptions are returned. A version name is part of a model
(ProjectVersion) ARN. For example,
my-model.2020-01-21T09.10.15
is the version name in the
following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
A list of model version names that you want to describe. You can
add up to 10 model version names to the list. If you don't
specify a value, all model descriptions are returned. A version
name is part of a model (ProjectVersion) ARN. For example,
my-model.2020-01-21T09.10.15
is the version name in
the following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
public void setVersionNames(java.util.Collection<java.lang.String> versionNames)
A list of model version names that you want to describe. You can add up
to 10 model version names to the list. If you don't specify a value, all
model descriptions are returned. A version name is part of a model
(ProjectVersion) ARN. For example,
my-model.2020-01-21T09.10.15
is the version name in the
following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
versionNames
-
A list of model version names that you want to describe. You
can add up to 10 model version names to the list. If you don't
specify a value, all model descriptions are returned. A
version name is part of a model (ProjectVersion) ARN. For
example, my-model.2020-01-21T09.10.15
is the
version name in the following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
public DescribeProjectVersionsRequest withVersionNames(java.lang.String... versionNames)
A list of model version names that you want to describe. You can add up
to 10 model version names to the list. If you don't specify a value, all
model descriptions are returned. A version name is part of a model
(ProjectVersion) ARN. For example,
my-model.2020-01-21T09.10.15
is the version name in the
following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
Returns a reference to this object so that method calls can be chained together.
versionNames
-
A list of model version names that you want to describe. You
can add up to 10 model version names to the list. If you don't
specify a value, all model descriptions are returned. A
version name is part of a model (ProjectVersion) ARN. For
example, my-model.2020-01-21T09.10.15
is the
version name in the following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
public DescribeProjectVersionsRequest withVersionNames(java.util.Collection<java.lang.String> versionNames)
A list of model version names that you want to describe. You can add up
to 10 model version names to the list. If you don't specify a value, all
model descriptions are returned. A version name is part of a model
(ProjectVersion) ARN. For example,
my-model.2020-01-21T09.10.15
is the version name in the
following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
Returns a reference to this object so that method calls can be chained together.
versionNames
-
A list of model version names that you want to describe. You
can add up to 10 model version names to the list. If you don't
specify a value, all model descriptions are returned. A
version name is part of a model (ProjectVersion) ARN. For
example, my-model.2020-01-21T09.10.15
is the
version name in the following ARN.
arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
public java.lang.String getNextToken()
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
Constraints:
Length: - 1024
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
Constraints:
Length: - 1024
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public DescribeProjectVersionsRequest withNextToken(java.lang.String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
Constraints:
Range: 1 - 100
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
Constraints:
Range: 1 - 100
maxResults
- The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
public DescribeProjectVersionsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults
- The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
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.