Interface CreateOriginEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>,MediaPackageV2Request.Builder,SdkBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateOriginEndpointRequest
public static interface CreateOriginEndpointRequest.Builder extends MediaPackageV2Request.Builder, SdkPojo, CopyableBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>
-
-
Method Summary
-
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 Detail
-
channelGroupName
CreateOriginEndpointRequest.Builder channelGroupName(String 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
CreateOriginEndpointRequest.Builder channelName(String 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
CreateOriginEndpointRequest.Builder originEndpointName(String 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
CreateOriginEndpointRequest.Builder containerType(String 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,ContainerType
-
containerType
CreateOriginEndpointRequest.Builder containerType(ContainerType 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,ContainerType
-
segment
CreateOriginEndpointRequest.Builder segment(Segment 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
default CreateOriginEndpointRequest.Builder segment(Consumer<Segment.Builder> segment)
The segment configuration, including the segment name, duration, and other configuration values.
This is a convenience method that creates an instance of theSegment.Builderavoiding the need to create one manually viaSegment.builder().When the
Consumercompletes,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:
segment(Segment)
-
clientToken
CreateOriginEndpointRequest.Builder clientToken(String 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
CreateOriginEndpointRequest.Builder description(String 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
CreateOriginEndpointRequest.Builder 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. 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
CreateOriginEndpointRequest.Builder hlsManifests(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
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.Builderavoiding the need to create one manually viaCreateHlsManifestConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hlsManifests(List.) - 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:
#hlsManifests(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaCreateLowLatencyHlsManifestConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lowLatencyHlsManifests(List.) - 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:
#lowLatencyHlsManifests(java.util.Collection)
-
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
CreateOriginEndpointRequest.Builder dashManifests(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
CreateOriginEndpointRequest.Builder dashManifests(Consumer<CreateDashManifestConfiguration.Builder>... dashManifests)
A DASH manifest configuration.
This is a convenience method that creates an instance of theCreateDashManifestConfiguration.Builderavoiding the need to create one manually viaCreateDashManifestConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dashManifests(List.) - 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:
#dashManifests(java.util.Collection)
-
forceEndpointErrorConfiguration
CreateOriginEndpointRequest.Builder forceEndpointErrorConfiguration(ForceEndpointErrorConfiguration forceEndpointErrorConfiguration)
The failover settings for the endpoint.
- Parameters:
forceEndpointErrorConfiguration- The failover settings for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forceEndpointErrorConfiguration
default CreateOriginEndpointRequest.Builder forceEndpointErrorConfiguration(Consumer<ForceEndpointErrorConfiguration.Builder> forceEndpointErrorConfiguration)
The failover settings for the endpoint.
This is a convenience method that creates an instance of theForceEndpointErrorConfiguration.Builderavoiding the need to create one manually viaForceEndpointErrorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toforceEndpointErrorConfiguration(ForceEndpointErrorConfiguration).- Parameters:
forceEndpointErrorConfiguration- a consumer that will call methods onForceEndpointErrorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
forceEndpointErrorConfiguration(ForceEndpointErrorConfiguration)
-
tags
CreateOriginEndpointRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateOriginEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-