@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeProjectVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeProjectVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return per paginated call.
|
String |
getNextToken()
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
String |
getProjectArn()
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
|
List<String> |
getVersionNames()
A list of model or project version names that you want to describe.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per paginated call.
|
void |
setNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
void |
setProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
|
void |
setVersionNames(Collection<String> versionNames)
A list of model or project version names that you want to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProjectVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per paginated call.
|
DescribeProjectVersionsRequest |
withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a
pagination token in the response.
|
DescribeProjectVersionsRequest |
withProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
|
DescribeProjectVersionsRequest |
withVersionNames(Collection<String> versionNames)
A list of model or project version names that you want to describe.
|
DescribeProjectVersionsRequest |
withVersionNames(String... versionNames)
A list of model or project version names that you want to describe.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
projectArn
- The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.public String getProjectArn()
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
public DescribeProjectVersionsRequest withProjectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
projectArn
- The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.public List<String> getVersionNames()
A list of model or project version names that you want to describe. You can add up to 10 model or project version
names to the list. If you don't specify a value, all project version descriptions are returned. A version name is
part of a project version 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
.
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(Collection<String> versionNames)
A list of model or project version names that you want to describe. You can add up to 10 model or project version
names to the list. If you don't specify a value, all project version descriptions are returned. A version name is
part of a project version 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 or project version names that you want to describe. You can add up to 10 model or project
version names to the list. If you don't specify a value, all project version descriptions are returned. A
version name is part of a project version 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(String... versionNames)
A list of model or project version names that you want to describe. You can add up to 10 model or project version
names to the list. If you don't specify a value, all project version descriptions are returned. A version name is
part of a project version 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
.
NOTE: This method appends the values to the existing list (if any). Use
setVersionNames(java.util.Collection)
or withVersionNames(java.util.Collection)
if you want to
override the existing values.
versionNames
- A list of model or project version names that you want to describe. You can add up to 10 model or project
version names to the list. If you don't specify a value, all project version descriptions are returned. A
version name is part of a project version 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(Collection<String> versionNames)
A list of model or project version names that you want to describe. You can add up to 10 model or project version
names to the list. If you don't specify a value, all project version descriptions are returned. A version name is
part of a project version 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 or project version names that you want to describe. You can add up to 10 model or project
version names to the list. If you don't specify a value, all project version descriptions are returned. A
version name is part of a project version 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 setNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
results.public String getNextToken()
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public DescribeProjectVersionsRequest withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
nextToken
- If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
results.public void setMaxResults(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.
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 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.
public DescribeProjectVersionsRequest withMaxResults(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.
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 String toString()
toString
in class Object
Object.toString()
public DescribeProjectVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()