Class OriginListResult


  • public final class OriginListResult
    extends Object
    Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.
    • Constructor Detail

      • OriginListResult

        public OriginListResult()
    • Method Detail

      • value

        public List<OriginInner> value()
        Get the value property: List of CDN origins within an endpoint.
        Returns:
        the value value.
      • nextLink

        public String nextLink()
        Get the nextLink property: URL to get the next set of origin objects if there are any.
        Returns:
        the nextLink value.
      • withNextLink

        public OriginListResult withNextLink​(String nextLink)
        Set the nextLink property: URL to get the next set of origin objects if there are any.
        Parameters:
        nextLink - the nextLink value to set.
        Returns:
        the OriginListResult object itself.
      • validate

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