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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateOriginEndpointRequest.Builderauthorization(Consumer<Authorization.Builder> authorization)Sets the value of the Authorization property for this object.CreateOriginEndpointRequest.Builderauthorization(Authorization authorization)Sets the value of the Authorization property for this object.CreateOriginEndpointRequest.BuilderchannelId(String channelId)The ID of the Channel that the OriginEndpoint will be associated with.default CreateOriginEndpointRequest.BuildercmafPackage(Consumer<CmafPackageCreateOrUpdateParameters.Builder> cmafPackage)Sets the value of the CmafPackage property for this object.CreateOriginEndpointRequest.BuildercmafPackage(CmafPackageCreateOrUpdateParameters cmafPackage)Sets the value of the CmafPackage property for this object.default CreateOriginEndpointRequest.BuilderdashPackage(Consumer<DashPackage.Builder> dashPackage)Sets the value of the DashPackage property for this object.CreateOriginEndpointRequest.BuilderdashPackage(DashPackage dashPackage)Sets the value of the DashPackage property for this object.CreateOriginEndpointRequest.Builderdescription(String description)A short text description of the OriginEndpoint.default CreateOriginEndpointRequest.BuilderhlsPackage(Consumer<HlsPackage.Builder> hlsPackage)Sets the value of the HlsPackage property for this object.CreateOriginEndpointRequest.BuilderhlsPackage(HlsPackage hlsPackage)Sets the value of the HlsPackage property for this object.CreateOriginEndpointRequest.Builderid(String id)The ID of the OriginEndpoint.CreateOriginEndpointRequest.BuildermanifestName(String manifestName)A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").default CreateOriginEndpointRequest.BuildermssPackage(Consumer<MssPackage.Builder> mssPackage)Sets the value of the MssPackage property for this object.CreateOriginEndpointRequest.BuildermssPackage(MssPackage mssPackage)Sets the value of the MssPackage property for this object.CreateOriginEndpointRequest.Builderorigination(String origination)Control whether origination of video is allowed for this OriginEndpoint.CreateOriginEndpointRequest.Builderorigination(Origination origination)Control whether origination of video is allowed for this OriginEndpoint.CreateOriginEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateOriginEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateOriginEndpointRequest.BuilderstartoverWindowSeconds(Integer startoverWindowSeconds)Maximum duration (seconds) of content to retain for startover playback.CreateOriginEndpointRequest.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.CreateOriginEndpointRequest.BuildertimeDelaySeconds(Integer timeDelaySeconds)Amount of delay (seconds) to enforce on the playback of live content.CreateOriginEndpointRequest.Builderwhitelist(String... whitelist)A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.CreateOriginEndpointRequest.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.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 Detail
-
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 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
CreateOriginEndpointRequest.Builder channelId(String 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
CreateOriginEndpointRequest.Builder cmafPackage(CmafPackageCreateOrUpdateParameters 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.Builderavoiding the need to create one manually viaCmafPackageCreateOrUpdateParameters.builder().When the
Consumercompletes,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:
cmafPackage(CmafPackageCreateOrUpdateParameters)
-
dashPackage
CreateOriginEndpointRequest.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 CreateOriginEndpointRequest.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
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
CreateOriginEndpointRequest.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 CreateOriginEndpointRequest.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
CreateOriginEndpointRequest.Builder id(String 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
CreateOriginEndpointRequest.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 CreateOriginEndpointRequest.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
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,Origination
-
origination
CreateOriginEndpointRequest.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
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
CreateOriginEndpointRequest.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
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
CreateOriginEndpointRequest.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
CreateOriginEndpointRequest.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.
-
overrideConfiguration
CreateOriginEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateOriginEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-