Class PaginatorDefinition

java.lang.Object
software.amazon.awssdk.codegen.model.service.PaginatorDefinition

public class PaginatorDefinition extends Object
Represents the structure for each operation in paginators-1.json file This class is used to generate auto-paginated APIs.
  • Constructor Details

    • PaginatorDefinition

      public PaginatorDefinition()
  • Method Details

    • getInputToken

      public List<String> getInputToken()
    • setInputToken

      public void setInputToken(List<String> inputToken)
    • getOutputToken

      public List<String> getOutputToken()
    • setOutputToken

      public void setOutputToken(List<String> outputToken)
    • getResultKey

      public List<String> getResultKey()
    • setResultKey

      public void setResultKey(List<String> resultKey)
    • getMoreResults

      public String getMoreResults()
    • setMoreResults

      public void setMoreResults(String moreResults)
    • getLimitKey

      public String getLimitKey()
    • setLimitKey

      public void setLimitKey(String limitKey)
    • 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

      public void setLimit_key(String limitKey)
      Gross version of setLimitKey(java.lang.String) that matches the JSON attribute name.
    • setInput_token

      public void setInput_token(com.fasterxml.jackson.jr.stree.JrsValue inputToken)
      Gross version of setInputToken(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 of setOutputToken(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 of setResultKey(java.util.List<java.lang.String>) that matches the JSON attribute name.
    • setMore_results

      public void setMore_results(String moreResults)
      Gross version of setMoreResults(java.lang.String) that matches the JSON attribute name.