@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProjectsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeProjectsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeProjectsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getFeatures()
Specifies the type of customization to filter projects by.
|
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), Rekognition returns a
pagination token in the response.
|
List<String> |
getProjectNames()
A list of the projects that you want Rekognition to describe.
|
int |
hashCode() |
void |
setFeatures(Collection<String> features)
Specifies the type of customization to filter projects by.
|
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), Rekognition returns a
pagination token in the response.
|
void |
setProjectNames(Collection<String> projectNames)
A list of the projects that you want Rekognition to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProjectsRequest |
withFeatures(Collection<String> features)
Specifies the type of customization to filter projects by.
|
DescribeProjectsRequest |
withFeatures(CustomizationFeature... features)
Specifies the type of customization to filter projects by.
|
DescribeProjectsRequest |
withFeatures(String... features)
Specifies the type of customization to filter projects by.
|
DescribeProjectsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per paginated call.
|
DescribeProjectsRequest |
withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), Rekognition returns a
pagination token in the response.
|
DescribeProjectsRequest |
withProjectNames(Collection<String> projectNames)
A list of the projects that you want Rekognition to describe.
|
DescribeProjectsRequest |
withProjectNames(String... projectNames)
A list of the projects that you want Rekognition 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 setNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), 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), 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), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
public DescribeProjectsRequest withNextToken(String nextToken)
If the previous response was incomplete (because there is more results to retrieve), 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), 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 DescribeProjectsRequest 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 List<String> getProjectNames()
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
public void setProjectNames(Collection<String> projectNames)
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
projectNames
- A list of the projects that you want Rekognition to describe. If you don't specify a value, the response
includes descriptions for all the projects in your AWS account.public DescribeProjectsRequest withProjectNames(String... projectNames)
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
NOTE: This method appends the values to the existing list (if any). Use
setProjectNames(java.util.Collection)
or withProjectNames(java.util.Collection)
if you want to
override the existing values.
projectNames
- A list of the projects that you want Rekognition to describe. If you don't specify a value, the response
includes descriptions for all the projects in your AWS account.public DescribeProjectsRequest withProjectNames(Collection<String> projectNames)
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
projectNames
- A list of the projects that you want Rekognition to describe. If you don't specify a value, the response
includes descriptions for all the projects in your AWS account.public List<String> getFeatures()
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
CustomizationFeature
public void setFeatures(Collection<String> features)
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
features
- Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used
as a default.CustomizationFeature
public DescribeProjectsRequest withFeatures(String... features)
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
NOTE: This method appends the values to the existing list (if any). Use
setFeatures(java.util.Collection)
or withFeatures(java.util.Collection)
if you want to override
the existing values.
features
- Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used
as a default.CustomizationFeature
public DescribeProjectsRequest withFeatures(Collection<String> features)
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
features
- Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used
as a default.CustomizationFeature
public DescribeProjectsRequest withFeatures(CustomizationFeature... features)
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
features
- Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used
as a default.CustomizationFeature
public String toString()
toString
in class Object
Object.toString()
public DescribeProjectsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()