Interface UpdateOriginEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateOriginEndpointRequest.Builder,
,UpdateOriginEndpointRequest> MediaPackageRequest.Builder
,SdkBuilder<UpdateOriginEndpointRequest.Builder,
,UpdateOriginEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateOriginEndpointRequest
public static interface UpdateOriginEndpointRequest.Builder
extends MediaPackageRequest.Builder, SdkPojo, CopyableBuilder<UpdateOriginEndpointRequest.Builder,UpdateOriginEndpointRequest>
-
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.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 to update.manifestName
(String manifestName) A short string that will be appended to the end of the Endpoint URL.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 (in seconds) of content to retain for startover playback.timeDelaySeconds
(Integer timeDelaySeconds) Amount of delay (in 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 UpdateOriginEndpointRequest.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:
-
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 UpdateOriginEndpointRequest.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 to update.- Parameters:
id
- The ID of the OriginEndpoint to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifestName
A short string that will be appended to the end of the Endpoint URL.- Parameters:
manifestName
- A short string that will be appended to the end of the Endpoint URL.- 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 (in seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.- Parameters:
startoverWindowSeconds
- Maximum duration (in 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.
-
timeDelaySeconds
Amount of delay (in 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 (in 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
UpdateOriginEndpointRequest.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
UpdateOriginEndpointRequest.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.
-