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 Details

    • 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

      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:
    • 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 the Segment.Builder avoiding the need to create one manually via Segment.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to segment(Segment).

      Parameters:
      segment - a consumer that will call methods on Segment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      An HTTP live streaming (HLS) manifest configuration.

      This is a convenience method that creates an instance of the CreateHlsManifestConfiguration.Builder avoiding the need to create one manually via CreateHlsManifestConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hlsManifests(List<CreateHlsManifestConfiguration>).

      Parameters:
      hlsManifests - a consumer that will call methods on CreateHlsManifestConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      A low-latency HLS manifest configuration.

      This is a convenience method that creates an instance of the CreateLowLatencyHlsManifestConfiguration.Builder avoiding the need to create one manually via CreateLowLatencyHlsManifestConfiguration.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lowLatencyHlsManifests(List<CreateLowLatencyHlsManifestConfiguration>).

      Parameters:
      lowLatencyHlsManifests - a consumer that will call methods on CreateLowLatencyHlsManifestConfiguration.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.