Interface OriginEndpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OriginEndpoint.Builder,OriginEndpoint>,SdkBuilder<OriginEndpoint.Builder,OriginEndpoint>,SdkPojo
- Enclosing class:
- OriginEndpoint
public static interface OriginEndpoint.Builder extends SdkPojo, CopyableBuilder<OriginEndpoint.Builder,OriginEndpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OriginEndpoint.Builderarn(String arn)The Amazon Resource Name (ARN) assigned to the OriginEndpoint.default OriginEndpoint.Builderauthorization(Consumer<Authorization.Builder> authorization)Sets the value of the Authorization property for this object.OriginEndpoint.Builderauthorization(Authorization authorization)Sets the value of the Authorization property for this object.OriginEndpoint.BuilderchannelId(String channelId)The ID of the Channel the OriginEndpoint is associated with.default OriginEndpoint.BuildercmafPackage(Consumer<CmafPackage.Builder> cmafPackage)Sets the value of the CmafPackage property for this object.OriginEndpoint.BuildercmafPackage(CmafPackage cmafPackage)Sets the value of the CmafPackage property for this object.OriginEndpoint.BuildercreatedAt(String createdAt)The date and time the OriginEndpoint was created.default OriginEndpoint.BuilderdashPackage(Consumer<DashPackage.Builder> dashPackage)Sets the value of the DashPackage property for this object.OriginEndpoint.BuilderdashPackage(DashPackage dashPackage)Sets the value of the DashPackage property for this object.OriginEndpoint.Builderdescription(String description)A short text description of the OriginEndpoint.default OriginEndpoint.BuilderhlsPackage(Consumer<HlsPackage.Builder> hlsPackage)Sets the value of the HlsPackage property for this object.OriginEndpoint.BuilderhlsPackage(HlsPackage hlsPackage)Sets the value of the HlsPackage property for this object.OriginEndpoint.Builderid(String id)The ID of the OriginEndpoint.OriginEndpoint.BuildermanifestName(String manifestName)A short string appended to the end of the OriginEndpoint URL.default OriginEndpoint.BuildermssPackage(Consumer<MssPackage.Builder> mssPackage)Sets the value of the MssPackage property for this object.OriginEndpoint.BuildermssPackage(MssPackage mssPackage)Sets the value of the MssPackage property for this object.OriginEndpoint.Builderorigination(String origination)Control whether origination of video is allowed for this OriginEndpoint.OriginEndpoint.Builderorigination(Origination origination)Control whether origination of video is allowed for this OriginEndpoint.OriginEndpoint.BuilderstartoverWindowSeconds(Integer startoverWindowSeconds)Maximum duration (seconds) of content to retain for startover playback.OriginEndpoint.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.OriginEndpoint.BuildertimeDelaySeconds(Integer timeDelaySeconds)Amount of delay (seconds) to enforce on the playback of live content.OriginEndpoint.Builderurl(String url)The URL of the packaged OriginEndpoint for consumption.OriginEndpoint.Builderwhitelist(String... whitelist)A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.OriginEndpoint.Builderwhitelist(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.utils.builder.CopyableBuilder
copy
-
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
-
arn
OriginEndpoint.Builder arn(String arn)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.- Parameters:
arn- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorization
OriginEndpoint.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 OriginEndpoint.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.Builderavoiding the need to create one manually viaAuthorization.builder().When the
Consumercompletes,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:
authorization(Authorization)
-
channelId
OriginEndpoint.Builder channelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.- Parameters:
channelId- The ID of the Channel the OriginEndpoint is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cmafPackage
OriginEndpoint.Builder cmafPackage(CmafPackage 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 OriginEndpoint.Builder cmafPackage(Consumer<CmafPackage.Builder> cmafPackage)
Sets the value of the CmafPackage property for this object. This is a convenience method that creates an instance of theCmafPackage.Builderavoiding the need to create one manually viaCmafPackage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocmafPackage(CmafPackage).- Parameters:
cmafPackage- a consumer that will call methods onCmafPackage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cmafPackage(CmafPackage)
-
createdAt
OriginEndpoint.Builder createdAt(String createdAt)
The date and time the OriginEndpoint was created.- Parameters:
createdAt- The date and time the OriginEndpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashPackage
OriginEndpoint.Builder dashPackage(DashPackage 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
default OriginEndpoint.Builder dashPackage(Consumer<DashPackage.Builder> dashPackage)
Sets the value of the DashPackage property for this object. This is a convenience method that creates an instance of theDashPackage.Builderavoiding the need to create one manually viaDashPackage.builder().When the
Consumercompletes,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:
dashPackage(DashPackage)
-
description
OriginEndpoint.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
OriginEndpoint.Builder hlsPackage(HlsPackage 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
default OriginEndpoint.Builder hlsPackage(Consumer<HlsPackage.Builder> hlsPackage)
Sets the value of the HlsPackage property for this object. This is a convenience method that creates an instance of theHlsPackage.Builderavoiding the need to create one manually viaHlsPackage.builder().When the
Consumercompletes,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:
hlsPackage(HlsPackage)
-
id
OriginEndpoint.Builder id(String id)
The ID of the OriginEndpoint.- Parameters:
id- The ID of the OriginEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifestName
OriginEndpoint.Builder manifestName(String manifestName)
A short string appended to the end of the OriginEndpoint URL.- Parameters:
manifestName- A short string appended to the end of the OriginEndpoint URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mssPackage
OriginEndpoint.Builder mssPackage(MssPackage 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
default OriginEndpoint.Builder mssPackage(Consumer<MssPackage.Builder> mssPackage)
Sets the value of the MssPackage property for this object. This is a convenience method that creates an instance of theMssPackage.Builderavoiding the need to create one manually viaMssPackage.builder().When the
Consumercompletes,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:
mssPackage(MssPackage)
-
origination
OriginEndpoint.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,Origination
-
origination
OriginEndpoint.Builder origination(Origination 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,Origination
-
startoverWindowSeconds
OriginEndpoint.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
OriginEndpoint.Builder tags(Map<String,String> 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
OriginEndpoint.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.
-
url
OriginEndpoint.Builder url(String url)
The URL of the packaged OriginEndpoint for consumption.- Parameters:
url- The URL of the packaged OriginEndpoint for consumption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whitelist
OriginEndpoint.Builder whitelist(Collection<String> 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
OriginEndpoint.Builder whitelist(String... 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.
-
-