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 Summary
Modifier and TypeMethodDescriptionauthorization
(Consumer<Authorization.Builder> authorization) Sets the value of the Authorization property for this object.authorization
(Authorization authorization) Sets the value of the Authorization property for this object.The ID of the Channel that the OriginEndpoint will be associated with.cmafPackage
(Consumer<CmafPackageCreateOrUpdateParameters.Builder> cmafPackage) Sets the value of the CmafPackage property for this object.cmafPackage
(CmafPackageCreateOrUpdateParameters cmafPackage) Sets the value of the CmafPackage property for this object.dashPackage
(Consumer<DashPackage.Builder> dashPackage) Sets the value of the DashPackage property for this object.dashPackage
(DashPackage dashPackage) Sets the value of the DashPackage property for this object.description
(String description) A short text description of the OriginEndpoint.hlsPackage
(Consumer<HlsPackage.Builder> hlsPackage) Sets the value of the HlsPackage property for this object.hlsPackage
(HlsPackage hlsPackage) Sets the value of the HlsPackage property for this object.The ID of the OriginEndpoint.manifestName
(String manifestName) A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").mssPackage
(Consumer<MssPackage.Builder> mssPackage) Sets the value of the MssPackage property for this object.mssPackage
(MssPackage mssPackage) Sets the value of the MssPackage property for this object.origination
(String origination) Control whether origination of video is allowed for this OriginEndpoint.origination
(Origination origination) Control whether origination of video is allowed for this OriginEndpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.startoverWindowSeconds
(Integer startoverWindowSeconds) Maximum duration (seconds) of content to retain for startover playback.Sets the value of the Tags property for this object.timeDelaySeconds
(Integer timeDelaySeconds) Amount of delay (seconds) to enforce on the playback of live content.A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.whitelist
(Collection<String> whitelist) A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.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.mediapackage.model.MediaPackageRequest.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
-
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 theAuthorization.Builder
avoiding the need to create one manually viaAuthorization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorization(Authorization)
.- Parameters:
authorization
- a consumer that will call methods onAuthorization.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
default CreateOriginEndpointRequest.Builder cmafPackage(Consumer<CmafPackageCreateOrUpdateParameters.Builder> cmafPackage) Sets the value of the CmafPackage property for this object. This is a convenience method that creates an instance of theCmafPackageCreateOrUpdateParameters.Builder
avoiding the need to create one manually viaCmafPackageCreateOrUpdateParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocmafPackage(CmafPackageCreateOrUpdateParameters)
.- Parameters:
cmafPackage
- a consumer that will call methods onCmafPackageCreateOrUpdateParameters.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 theDashPackage.Builder
avoiding the need to create one manually viaDashPackage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todashPackage(DashPackage)
.- Parameters:
dashPackage
- a consumer that will call methods onDashPackage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theHlsPackage.Builder
avoiding the need to create one manually viaHlsPackage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohlsPackage(HlsPackage)
.- Parameters:
hlsPackage
- a consumer that will call methods onHlsPackage.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
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 theMssPackage.Builder
avoiding the need to create one manually viaMssPackage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomssPackage(MssPackage)
.- Parameters:
mssPackage
- a consumer that will call methods onMssPackage.Builder
- 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:
-
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
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
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 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.
-