Class BackendCollection


  • public final class BackendCollection
    extends Object
    Paged Backend list representation.
    • Constructor Detail

      • BackendCollection

        public BackendCollection()
    • Method Detail

      • withValue

        public BackendCollection withValue​(List<BackendContractInner> value)
        Set the value property: Backend values.
        Parameters:
        value - the value value to set.
        Returns:
        the BackendCollection object itself.
      • count

        public Long count()
        Get the count property: Total record count number across all pages.
        Returns:
        the count value.
      • withCount

        public BackendCollection withCount​(Long count)
        Set the count property: Total record count number across all pages.
        Parameters:
        count - the count value to set.
        Returns:
        the BackendCollection object itself.
      • nextLink

        public String nextLink()
        Get the nextLink property: Next page link if any.
        Returns:
        the nextLink value.
      • withNextLink

        public BackendCollection withNextLink​(String nextLink)
        Set the nextLink property: Next page link if any.
        Parameters:
        nextLink - the nextLink value to set.
        Returns:
        the BackendCollection object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.