@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CdnConfiguration.Builder> |
serializableBuilderClass() |
CdnConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 following 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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CdnConfiguration.Builder,CdnConfiguration>
public static CdnConfiguration.Builder builder()
public static Class<? extends CdnConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.