|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.Restrictions
public class Restrictions
A complex type that identifies ways in which you want to restrict distribution of your content.
Constructor Summary | |
---|---|
Restrictions()
Default constructor for a new Restrictions object. |
|
Restrictions(GeoRestriction geoRestriction)
Constructs a new Restrictions object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
GeoRestriction |
getGeoRestriction()
A complex type that controls the countries in which your content is distributed. |
int |
hashCode()
|
void |
setGeoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is distributed. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Restrictions |
withGeoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is distributed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Restrictions()
public Restrictions(GeoRestriction geoRestriction)
geoRestriction
- A complex type that controls the countries in
which your content is distributed. For more information about geo
restriction, go to Customizing Error Responses in the Amazon
CloudFront Developer Guide. CloudFront determines the location of your
users using MaxMind GeoIP databases. For information about the
accuracy of these databases, see How accurate are your GeoIP
databases? on the MaxMind website.Method Detail |
---|
public GeoRestriction getGeoRestriction()
public void setGeoRestriction(GeoRestriction geoRestriction)
geoRestriction
- A complex type that controls the countries in which your content is
distributed. For more information about geo restriction, go to
Customizing Error Responses in the Amazon CloudFront Developer Guide.
CloudFront determines the location of your users using MaxMind GeoIP
databases. For information about the accuracy of these databases, see
How accurate are your GeoIP databases? on the MaxMind website.public Restrictions withGeoRestriction(GeoRestriction geoRestriction)
Returns a reference to this object so that method calls can be chained together.
geoRestriction
- A complex type that controls the countries in which your content is
distributed. For more information about geo restriction, go to
Customizing Error Responses in the Amazon CloudFront Developer Guide.
CloudFront determines the location of your users using MaxMind GeoIP
databases. For information about the accuracy of these databases, see
How accurate are your GeoIP databases? on the MaxMind website.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |