Class Restrictions
java.lang.Object
software.amazon.awssdk.services.cloudfront.model.Restrictions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Restrictions.Builder,Restrictions>
@Generated("software.amazon.awssdk:codegen")
public final class Restrictions
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Restrictions.Builder,Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Restrictions.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final GeoRestrictionA complex type that controls the countries in which your content is distributed.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Restrictions.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
geoRestriction
A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using
MaxMindGeoIP databases.- Returns:
- A complex type that controls the countries in which your content is distributed. CloudFront determines
the location of your users using
MaxMindGeoIP databases.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Restrictions.Builder,Restrictions>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-