Class Restrictions

    • Constructor Detail

      • Restrictions

        public Restrictions()
        Default constructor for Restrictions object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • Restrictions

        public Restrictions​(GeoRestriction geoRestriction)
        Constructs a new Restrictions object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        geoRestriction -
    • Method Detail

      • setGeoRestriction

        public void setGeoRestriction​(GeoRestriction geoRestriction)
        Parameters:
        geoRestriction -
      • getGeoRestriction

        public GeoRestriction getGeoRestriction()
        Returns:
      • withGeoRestriction

        public Restrictions withGeoRestriction​(GeoRestriction geoRestriction)
        Parameters:
        geoRestriction -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object