@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssetContractsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssetContractsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssetContractsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ContractFilter |
getContractFilter()
Contains the filter parameter for the request.
|
Integer |
getMaxResults()
The maximum number of contracts to list.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setContractFilter(ContractFilter contractFilter)
Contains the filter parameter for the request.
|
void |
setMaxResults(Integer maxResults)
The maximum number of contracts to list.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListAssetContractsRequest |
withContractFilter(ContractFilter contractFilter)
Contains the filter parameter for the request.
|
ListAssetContractsRequest |
withMaxResults(Integer maxResults)
The maximum number of contracts to list.
|
ListAssetContractsRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results 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 setContractFilter(ContractFilter contractFilter)
Contains the filter parameter for the request.
contractFilter
- Contains the filter parameter for the request.public ContractFilter getContractFilter()
Contains the filter parameter for the request.
public ListAssetContractsRequest withContractFilter(ContractFilter contractFilter)
Contains the filter parameter for the request.
contractFilter
- Contains the filter parameter for the request.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListAssetContractsRequest withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public void setMaxResults(Integer maxResults)
The maximum number of contracts to list.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
maxResults
- The maximum number of contracts to list.
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public Integer getMaxResults()
The maximum number of contracts to list.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public ListAssetContractsRequest withMaxResults(Integer maxResults)
The maximum number of contracts to list.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
maxResults
- The maximum number of contracts to list.
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public String toString()
toString
in class Object
Object.toString()
public ListAssetContractsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()