Class ConfigurationsPager


  • public class ConfigurationsPager
    extends Object
    ConfigurationsPager can be used to simplify the use of the "listConfigurations" method.
    • Constructor Detail

      • ConfigurationsPager

        public ConfigurationsPager​(SecretsManager client,
                                   ListConfigurationsOptions options)
        Constructs a new ConfigurationsPager instance with the specified client and options model instance.
        Parameters:
        client - the SecretsManager instance to be used to invoke the "listConfigurations" method
        options - the ListConfigurationsOptions instance to be used to invoke the "listConfigurations" method
    • Method Detail

      • hasNext

        public boolean hasNext()
        Returns true if there are more results to be retrieved.
        Returns:
        boolean
      • getNext

        public List<ConfigurationMetadata> getNext()
        Returns the next page of results.
        Returns:
        a List<ConfigurationMetadata> that contains the next page of results
      • getAll

        public List<ConfigurationMetadata> getAll()
        Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.
        Returns:
        a List<ConfigurationMetadata> containing all results returned by the "listConfigurations" method