@Generated(value="software.amazon.awssdk:codegen") public final class CdnConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CdnConfiguration.Builder,CdnConfiguration>
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CdnConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
adSegmentUrlPrefix()
A non-default content delivery network (CDN) to serve ad segments.
|
static CdnConfiguration.Builder |
builder() |
String |
contentSegmentUrlPrefix()
A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to
the origin server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CdnConfiguration.Builder> |
serializableBuilderClass() |
CdnConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String adSegmentUrlPrefix()
A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor.<region>.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.
public final String contentSegmentUrlPrefix()
A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.
public CdnConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CdnConfiguration.Builder,CdnConfiguration>public static CdnConfiguration.Builder builder()
public static Class<? extends CdnConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.