Interface CreateOriginEndpointRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>, MediaPackageRequest.Builder, SdkBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateOriginEndpointRequest

public static interface CreateOriginEndpointRequest.Builder extends MediaPackageRequest.Builder, SdkPojo, CopyableBuilder<CreateOriginEndpointRequest.Builder,CreateOriginEndpointRequest>
  • Method Details

    • authorization

      CreateOriginEndpointRequest.Builder authorization(Authorization authorization)
      Sets the value of the Authorization property for this object.
      Parameters:
      authorization - The new value for the Authorization property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorization

      default CreateOriginEndpointRequest.Builder authorization(Consumer<Authorization.Builder> authorization)
      Sets the value of the Authorization property for this object. This is a convenience method that creates an instance of the Authorization.Builder avoiding the need to create one manually via Authorization.builder().

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

      Parameters:
      authorization - a consumer that will call methods on Authorization.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channelId

      The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.
      Parameters:
      channelId - The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cmafPackage

      Sets the value of the CmafPackage property for this object.
      Parameters:
      cmafPackage - The new value for the CmafPackage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cmafPackage

      Sets the value of the CmafPackage property for this object. This is a convenience method that creates an instance of the CmafPackageCreateOrUpdateParameters.Builder avoiding the need to create one manually via CmafPackageCreateOrUpdateParameters.builder().

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

      Parameters:
      cmafPackage - a consumer that will call methods on CmafPackageCreateOrUpdateParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dashPackage

      Sets the value of the DashPackage property for this object.
      Parameters:
      dashPackage - The new value for the DashPackage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dashPackage

      Sets the value of the DashPackage property for this object. This is a convenience method that creates an instance of the DashPackage.Builder avoiding the need to create one manually via DashPackage.builder().

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

      Parameters:
      dashPackage - a consumer that will call methods on DashPackage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      CreateOriginEndpointRequest.Builder description(String description)
      A short text description of the OriginEndpoint.
      Parameters:
      description - A short text description of the OriginEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hlsPackage

      Sets the value of the HlsPackage property for this object.
      Parameters:
      hlsPackage - The new value for the HlsPackage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hlsPackage

      Sets the value of the HlsPackage property for this object. This is a convenience method that creates an instance of the HlsPackage.Builder avoiding the need to create one manually via HlsPackage.builder().

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

      Parameters:
      hlsPackage - a consumer that will call methods on HlsPackage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id

      The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.
      Parameters:
      id - The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifestName

      CreateOriginEndpointRequest.Builder manifestName(String manifestName)
      A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
      Parameters:
      manifestName - A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mssPackage

      Sets the value of the MssPackage property for this object.
      Parameters:
      mssPackage - The new value for the MssPackage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mssPackage

      Sets the value of the MssPackage property for this object. This is a convenience method that creates an instance of the MssPackage.Builder avoiding the need to create one manually via MssPackage.builder().

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

      Parameters:
      mssPackage - a consumer that will call methods on MssPackage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • origination

      CreateOriginEndpointRequest.Builder origination(String origination)
      Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
      Parameters:
      origination - Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • origination

      Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
      Parameters:
      origination - Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startoverWindowSeconds

      CreateOriginEndpointRequest.Builder startoverWindowSeconds(Integer startoverWindowSeconds)
      Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
      Parameters:
      startoverWindowSeconds - Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Sets the value of the Tags property for this object.
      Parameters:
      tags - The new value for the Tags property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeDelaySeconds

      CreateOriginEndpointRequest.Builder timeDelaySeconds(Integer timeDelaySeconds)
      Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
      Parameters:
      timeDelaySeconds - Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • whitelist

      A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
      Parameters:
      whitelist - A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • whitelist

      A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
      Parameters:
      whitelist - A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
      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.