@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProductsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetProductsRequest() |
Modifier and Type | Method and Description |
---|---|
GetProductsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
The list of filters that limit the returned products.
|
String |
getFormatVersion()
The format version that you want the response to be in.
|
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
The pagination token that indicates the next set of results that you want to retrieve.
|
String |
getServiceCode()
The code for the service whose products you want to retrieve.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The list of filters that limit the returned products.
|
void |
setFormatVersion(String formatVersion)
The format version that you want the response to be in.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
void |
setServiceCode(String serviceCode)
The code for the service whose products you want to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetProductsRequest |
withFilters(Collection<Filter> filters)
The list of filters that limit the returned products.
|
GetProductsRequest |
withFilters(Filter... filters)
The list of filters that limit the returned products.
|
GetProductsRequest |
withFormatVersion(String formatVersion)
The format version that you want the response to be in.
|
GetProductsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
GetProductsRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
GetProductsRequest |
withServiceCode(String serviceCode)
The code for the service whose products you want to retrieve.
|
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 setServiceCode(String serviceCode)
The code for the service whose products you want to retrieve.
serviceCode
- The code for the service whose products you want to retrieve.public String getServiceCode()
The code for the service whose products you want to retrieve.
public GetProductsRequest withServiceCode(String serviceCode)
The code for the service whose products you want to retrieve.
serviceCode
- The code for the service whose products you want to retrieve.public List<Filter> getFilters()
The list of filters that limit the returned products. only products that match all filters are returned.
public void setFilters(Collection<Filter> filters)
The list of filters that limit the returned products. only products that match all filters are returned.
filters
- The list of filters that limit the returned products. only products that match all filters are returned.public GetProductsRequest withFilters(Filter... filters)
The list of filters that limit the returned products. only products that match all filters are returned.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The list of filters that limit the returned products. only products that match all filters are returned.public GetProductsRequest withFilters(Collection<Filter> filters)
The list of filters that limit the returned products. only products that match all filters are returned.
filters
- The list of filters that limit the returned products. only products that match all filters are returned.public void setFormatVersion(String formatVersion)
The format version that you want the response to be in.
Valid values are: aws_v1
formatVersion
- The format version that you want the response to be in.
Valid values are: aws_v1
public String getFormatVersion()
The format version that you want the response to be in.
Valid values are: aws_v1
Valid values are: aws_v1
public GetProductsRequest withFormatVersion(String formatVersion)
The format version that you want the response to be in.
Valid values are: aws_v1
formatVersion
- The format version that you want the response to be in.
Valid values are: aws_v1
public void setNextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.public String getNextToken()
The pagination token that indicates the next set of results that you want to retrieve.
public GetProductsRequest withNextToken(String nextToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public GetProductsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public String toString()
toString
in class Object
Object.toString()
public GetProductsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()