Interface CreateOriginEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOriginEndpointRequest.Builder,
,CreateOriginEndpointRequest> MediaPackageV2Request.Builder
,SdkBuilder<CreateOriginEndpointRequest.Builder,
,CreateOriginEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOriginEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelGroupName
(String channelGroupName) The name that describes the channel group.channelName
(String channelName) The name that describes the channel.clientToken
(String clientToken) A unique, case-sensitive token that you provide to ensure the idempotency of the request.containerType
(String containerType) The type of container to attach to this origin endpoint.containerType
(ContainerType containerType) The type of container to attach to this origin endpoint.dashManifests
(Collection<CreateDashManifestConfiguration> dashManifests) A DASH manifest configuration.dashManifests
(Consumer<CreateDashManifestConfiguration.Builder>... dashManifests) A DASH manifest configuration.dashManifests
(CreateDashManifestConfiguration... dashManifests) A DASH manifest configuration.description
(String description) Enter any descriptive text that helps you to identify the origin endpoint.hlsManifests
(Collection<CreateHlsManifestConfiguration> hlsManifests) An HTTP live streaming (HLS) manifest configuration.hlsManifests
(Consumer<CreateHlsManifestConfiguration.Builder>... hlsManifests) An HTTP live streaming (HLS) manifest configuration.hlsManifests
(CreateHlsManifestConfiguration... hlsManifests) An HTTP live streaming (HLS) manifest configuration.lowLatencyHlsManifests
(Collection<CreateLowLatencyHlsManifestConfiguration> lowLatencyHlsManifests) A low-latency HLS manifest configuration.lowLatencyHlsManifests
(Consumer<CreateLowLatencyHlsManifestConfiguration.Builder>... lowLatencyHlsManifests) A low-latency HLS manifest configuration.lowLatencyHlsManifests
(CreateLowLatencyHlsManifestConfiguration... lowLatencyHlsManifests) A low-latency HLS manifest configuration.originEndpointName
(String originEndpointName) The name that describes the origin endpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.segment
(Consumer<Segment.Builder> segment) The segment configuration, including the segment name, duration, and other configuration values.The segment configuration, including the segment name, duration, and other configuration values.startoverWindowSeconds
(Integer startoverWindowSeconds) The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing.A comma-separated list of tag key:value pairs that you define.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediapackagev2.model.MediaPackageV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
channelGroupName
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
- Parameters:
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
- Parameters:
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originEndpointName
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and must be unique for your account in the AWS Region and channel. You can't use spaces in the name. You can't change the name after you create the endpoint.
- Parameters:
originEndpointName
- The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and must be unique for your account in the AWS Region and channel. You can't use spaces in the name. You can't change the name after you create the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerType
The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.
- Parameters:
containerType
- The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerType
The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.
- Parameters:
containerType
- The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can't change the container type after you create the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segment
The segment configuration, including the segment name, duration, and other configuration values.
- Parameters:
segment
- The segment configuration, including the segment name, duration, and other configuration values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segment
The segment configuration, including the segment name, duration, and other configuration values.
This is a convenience method that creates an instance of theSegment.Builder
avoiding the need to create one manually viaSegment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegment(Segment)
.- Parameters:
segment
- a consumer that will call methods onSegment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Enter any descriptive text that helps you to identify the origin endpoint.
- Parameters:
description
- Enter any descriptive text that helps you to identify the origin endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startoverWindowSeconds
The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
- Parameters:
startoverWindowSeconds
- The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
CreateOriginEndpointRequest.Builder hlsManifests(Collection<CreateHlsManifestConfiguration> hlsManifests) An HTTP live streaming (HLS) manifest configuration.
- Parameters:
hlsManifests
- An HTTP live streaming (HLS) manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
An HTTP live streaming (HLS) manifest configuration.
- Parameters:
hlsManifests
- An HTTP live streaming (HLS) manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
CreateOriginEndpointRequest.Builder hlsManifests(Consumer<CreateHlsManifestConfiguration.Builder>... hlsManifests) An HTTP live streaming (HLS) manifest configuration.
This is a convenience method that creates an instance of theCreateHlsManifestConfiguration.Builder
avoiding the need to create one manually viaCreateHlsManifestConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohlsManifests(List<CreateHlsManifestConfiguration>)
.- Parameters:
hlsManifests
- a consumer that will call methods onCreateHlsManifestConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lowLatencyHlsManifests
CreateOriginEndpointRequest.Builder lowLatencyHlsManifests(Collection<CreateLowLatencyHlsManifestConfiguration> lowLatencyHlsManifests) A low-latency HLS manifest configuration.
- Parameters:
lowLatencyHlsManifests
- A low-latency HLS manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowLatencyHlsManifests
CreateOriginEndpointRequest.Builder lowLatencyHlsManifests(CreateLowLatencyHlsManifestConfiguration... lowLatencyHlsManifests) A low-latency HLS manifest configuration.
- Parameters:
lowLatencyHlsManifests
- A low-latency HLS manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowLatencyHlsManifests
CreateOriginEndpointRequest.Builder lowLatencyHlsManifests(Consumer<CreateLowLatencyHlsManifestConfiguration.Builder>... lowLatencyHlsManifests) A low-latency HLS manifest configuration.
This is a convenience method that creates an instance of theCreateLowLatencyHlsManifestConfiguration.Builder
avoiding the need to create one manually viaCreateLowLatencyHlsManifestConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolowLatencyHlsManifests(List<CreateLowLatencyHlsManifestConfiguration>)
.- Parameters:
lowLatencyHlsManifests
- a consumer that will call methods onCreateLowLatencyHlsManifestConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dashManifests
CreateOriginEndpointRequest.Builder dashManifests(Collection<CreateDashManifestConfiguration> dashManifests) A DASH manifest configuration.
- Parameters:
dashManifests
- A DASH manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashManifests
A DASH manifest configuration.
- Parameters:
dashManifests
- A DASH manifest configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashManifests
CreateOriginEndpointRequest.Builder dashManifests(Consumer<CreateDashManifestConfiguration.Builder>... dashManifests) A DASH manifest configuration.
This is a convenience method that creates an instance of theCreateDashManifestConfiguration.Builder
avoiding the need to create one manually viaCreateDashManifestConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todashManifests(List<CreateDashManifestConfiguration>)
.- Parameters:
dashManifests
- a consumer that will call methods onCreateDashManifestConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
- Parameters:
tags
- A comma-separated list of tag key:value pairs that you define. For example:"Key1": "Value1",
"Key2": "Value2"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateOriginEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOriginEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-