@Generated(value="software.amazon.awssdk:codegen") public final class Restrictions extends Object implements ToCopyableBuilder<Restrictions.Builder,Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
Modifier and Type | Class and Description |
---|---|
static interface |
Restrictions.Builder |
Modifier and Type | Method and Description |
---|---|
static Restrictions.Builder |
builder() |
boolean |
equals(Object obj) |
GeoRestriction |
geoRestriction()
Returns the value of the GeoRestriction property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends Restrictions.Builder> |
serializableBuilderClass() |
Restrictions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public GeoRestriction geoRestriction()
public Restrictions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Restrictions.Builder,Restrictions>
public static Restrictions.Builder builder()
public static Class<? extends Restrictions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.