@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Restrictions extends Object implements Serializable, Cloneable
A complex type that identifies ways in which you want to restrict distribution of your content.
| Constructor and Description | 
|---|
| Restrictions()Default constructor for Restrictions object. | 
| Restrictions(GeoRestriction geoRestriction)Constructs a new Restrictions object. | 
| Modifier and Type | Method and Description | 
|---|---|
| Restrictions | clone() | 
| boolean | equals(Object obj) | 
| GeoRestriction | getGeoRestriction() | 
| int | hashCode() | 
| void | setGeoRestriction(GeoRestriction geoRestriction) | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| Restrictions | withGeoRestriction(GeoRestriction geoRestriction) | 
public Restrictions()
public Restrictions(GeoRestriction geoRestriction)
geoRestriction - public void setGeoRestriction(GeoRestriction geoRestriction)
geoRestriction - public GeoRestriction getGeoRestriction()
public Restrictions withGeoRestriction(GeoRestriction geoRestriction)
geoRestriction - public String toString()
toString in class ObjectObject.toString()public Restrictions clone()
Copyright © 2017. All rights reserved.