Class CfnSourceLocation.SegmentDeliveryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnSourceLocation.SegmentDeliveryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceLocation.SegmentDeliveryConfigurationProperty>
- Enclosing interface:
CfnSourceLocation.SegmentDeliveryConfigurationProperty
@Stability(Stable)
public static final class CfnSourceLocation.SegmentDeliveryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceLocation.SegmentDeliveryConfigurationProperty>
A builder for
CfnSourceLocation.SegmentDeliveryConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSourceLocation.SegmentDeliveryConfigurationProperty.getBaseUrl()
build()
Builds the configured instance.Sets the value ofCfnSourceLocation.SegmentDeliveryConfigurationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseUrl
@Stability(Stable) public CfnSourceLocation.SegmentDeliveryConfigurationProperty.Builder baseUrl(String baseUrl) Sets the value ofCfnSourceLocation.SegmentDeliveryConfigurationProperty.getBaseUrl()
- Parameters:
baseUrl
- The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such ashttps://example.com/some/path
. To use a relative URL specify the relative path, such as/some/path*
.- Returns:
this
-
name
@Stability(Stable) public CfnSourceLocation.SegmentDeliveryConfigurationProperty.Builder name(String name) Sets the value ofCfnSourceLocation.SegmentDeliveryConfigurationProperty.getName()
- Parameters:
name
- A unique identifier used to distinguish between multiple segment delivery configurations in a source location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSourceLocation.SegmentDeliveryConfigurationProperty>
- Returns:
- a new instance of
CfnSourceLocation.SegmentDeliveryConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-