Class CdnConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.mediatailor.model.CdnConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CdnConfiguration.Builder,CdnConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCdnConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadSegmentUrlPrefix()A non-default content delivery network (CDN) to serve ad segments.static CdnConfiguration.Builderbuilder()StringcontentSegmentUrlPrefix()A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CdnConfiguration.Builder>serializableBuilderClass()CdnConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
adSegmentUrlPrefix
public 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.- Returns:
- 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.
-
contentSegmentUrlPrefix
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.- Returns:
- 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.
-
toBuilder
public CdnConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CdnConfiguration.Builder,CdnConfiguration>
-
builder
public static CdnConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends CdnConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-