Interface CreateOriginEndpointResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateOriginEndpointResponse.Builder,CreateOriginEndpointResponse>,MediaPackageResponse.Builder,SdkBuilder<CreateOriginEndpointResponse.Builder,CreateOriginEndpointResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateOriginEndpointResponse
public static interface CreateOriginEndpointResponse.Builder extends MediaPackageResponse.Builder, SdkPojo, CopyableBuilder<CreateOriginEndpointResponse.Builder,CreateOriginEndpointResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateOriginEndpointResponse.Builderarn(String arn)The Amazon Resource Name (ARN) assigned to the OriginEndpoint.default CreateOriginEndpointResponse.Builderauthorization(Consumer<Authorization.Builder> authorization)Sets the value of the Authorization property for this object.CreateOriginEndpointResponse.Builderauthorization(Authorization authorization)Sets the value of the Authorization property for this object.CreateOriginEndpointResponse.BuilderchannelId(String channelId)The ID of the Channel the OriginEndpoint is associated with.default CreateOriginEndpointResponse.BuildercmafPackage(Consumer<CmafPackage.Builder> cmafPackage)Sets the value of the CmafPackage property for this object.CreateOriginEndpointResponse.BuildercmafPackage(CmafPackage cmafPackage)Sets the value of the CmafPackage property for this object.CreateOriginEndpointResponse.BuildercreatedAt(String createdAt)The date and time the OriginEndpoint was created.default CreateOriginEndpointResponse.BuilderdashPackage(Consumer<DashPackage.Builder> dashPackage)Sets the value of the DashPackage property for this object.CreateOriginEndpointResponse.BuilderdashPackage(DashPackage dashPackage)Sets the value of the DashPackage property for this object.CreateOriginEndpointResponse.Builderdescription(String description)A short text description of the OriginEndpoint.default CreateOriginEndpointResponse.BuilderhlsPackage(Consumer<HlsPackage.Builder> hlsPackage)Sets the value of the HlsPackage property for this object.CreateOriginEndpointResponse.BuilderhlsPackage(HlsPackage hlsPackage)Sets the value of the HlsPackage property for this object.CreateOriginEndpointResponse.Builderid(String id)The ID of the OriginEndpoint.CreateOriginEndpointResponse.BuildermanifestName(String manifestName)A short string appended to the end of the OriginEndpoint URL.default CreateOriginEndpointResponse.BuildermssPackage(Consumer<MssPackage.Builder> mssPackage)Sets the value of the MssPackage property for this object.CreateOriginEndpointResponse.BuildermssPackage(MssPackage mssPackage)Sets the value of the MssPackage property for this object.CreateOriginEndpointResponse.Builderorigination(String origination)Control whether origination of video is allowed for this OriginEndpoint.CreateOriginEndpointResponse.Builderorigination(Origination origination)Control whether origination of video is allowed for this OriginEndpoint.CreateOriginEndpointResponse.BuilderstartoverWindowSeconds(Integer startoverWindowSeconds)Maximum duration (seconds) of content to retain for startover playback.CreateOriginEndpointResponse.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.CreateOriginEndpointResponse.BuildertimeDelaySeconds(Integer timeDelaySeconds)Amount of delay (seconds) to enforce on the playback of live content.CreateOriginEndpointResponse.Builderurl(String url)The URL of the packaged OriginEndpoint for consumption.CreateOriginEndpointResponse.Builderwhitelist(String... whitelist)A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.CreateOriginEndpointResponse.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.services.mediapackage.model.MediaPackageResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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 CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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 CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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 CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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 CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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 CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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
CreateOriginEndpointResponse.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.
-
-