Class PaginatorDefinition
java.lang.Object
software.amazon.awssdk.codegen.model.service.PaginatorDefinition
Represents the structure for each operation in paginators-1.json file
This class is used to generate auto-paginated APIs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a boolean value indicating if the required fields are present in this paginator definition.voidsetInput_token(com.fasterxml.jackson.jr.stree.JrsValue inputToken) Gross version ofsetInputToken(java.util.List<java.lang.String>)that matches the JSON attribute name.voidsetInputToken(List<String> inputToken) voidsetLimit_key(String limitKey) Gross version ofsetLimitKey(java.lang.String)that matches the JSON attribute name.voidsetLimitKey(String limitKey) voidsetMore_results(String moreResults) Gross version ofsetMoreResults(java.lang.String)that matches the JSON attribute name.voidsetMoreResults(String moreResults) voidsetOutput_token(com.fasterxml.jackson.jr.stree.JrsValue outputToken) Gross version ofsetOutputToken(java.util.List<java.lang.String>)that matches the JSON attribute name.voidsetOutputToken(List<String> outputToken) voidsetResult_key(com.fasterxml.jackson.jr.stree.JrsValue resultKey) Gross version ofsetResultKey(java.util.List<java.lang.String>)that matches the JSON attribute name.voidsetResultKey(List<String> resultKey)
-
Constructor Details
-
PaginatorDefinition
public PaginatorDefinition()
-
-
Method Details
-
getInputToken
-
setInputToken
-
getOutputToken
-
setOutputToken
-
getResultKey
-
setResultKey
-
getMoreResults
-
setMoreResults
-
getLimitKey
-
setLimitKey
-
hasAllRequiredFields
public boolean hasAllRequiredFields()Returns a boolean value indicating if the required fields are present in this paginator definition. This does not fully validate the paginator against the service model (e.g. it does not check that referenced members actually exist in the operation's request/response shapes). It only checks that the minimum required fields (inputToken, outputToken) are present and well-formed.- Returns:
- True if the minimum required fields to generate paginator APIs are present. Otherwise false.
-
setLimit_key
Gross version ofsetLimitKey(java.lang.String)that matches the JSON attribute name. -
setInput_token
public void setInput_token(com.fasterxml.jackson.jr.stree.JrsValue inputToken) Gross version ofsetInputToken(java.util.List<java.lang.String>)that matches the JSON attribute name. -
setOutput_token
public void setOutput_token(com.fasterxml.jackson.jr.stree.JrsValue outputToken) Gross version ofsetOutputToken(java.util.List<java.lang.String>)that matches the JSON attribute name. -
setResult_key
public void setResult_key(com.fasterxml.jackson.jr.stree.JrsValue resultKey) Gross version ofsetResultKey(java.util.List<java.lang.String>)that matches the JSON attribute name. -
setMore_results
Gross version ofsetMoreResults(java.lang.String)that matches the JSON attribute name.
-