Interface UpdateFlowEntitlementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowEntitlementRequest.Builder,
,UpdateFlowEntitlementRequest> MediaConnectRequest.Builder
,SdkBuilder<UpdateFlowEntitlementRequest.Builder,
,UpdateFlowEntitlementRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowEntitlementRequest
public static interface UpdateFlowEntitlementRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlowEntitlementRequest.Builder,UpdateFlowEntitlementRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the entitlement.encryption
(Consumer<UpdateEncryption.Builder> encryption) The type of encryption that will be used on the output associated with this entitlement.encryption
(UpdateEncryption encryption) The type of encryption that will be used on the output associated with this entitlement.entitlementArn
(String entitlementArn) The ARN of the entitlement that you want to update.entitlementStatus
(String entitlementStatus) An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily.entitlementStatus
(EntitlementStatus entitlementStatus) An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily.The flow that is associated with the entitlement that you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subscribers
(String... subscribers) The AWS account IDs that you want to share your content with.subscribers
(Collection<String> subscribers) The AWS account IDs that you want to share your content with.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.mediaconnect.model.MediaConnectRequest.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
-
description
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.- Parameters:
description
- A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.- Parameters:
encryption
- The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default UpdateFlowEntitlementRequest.Builder encryption(Consumer<UpdateEncryption.Builder> encryption) The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke. This is a convenience method that creates an instance of theUpdateEncryption.Builder
avoiding the need to create one manually viaUpdateEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(UpdateEncryption)
.- Parameters:
encryption
- a consumer that will call methods onUpdateEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlementArn
The ARN of the entitlement that you want to update.- Parameters:
entitlementArn
- The ARN of the entitlement that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementStatus
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.- Parameters:
entitlementStatus
- An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlementStatus
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.- Parameters:
entitlementStatus
- An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowArn
The flow that is associated with the entitlement that you want to update.- Parameters:
flowArn
- The flow that is associated with the entitlement that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.- Parameters:
subscribers
- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.- Parameters:
subscribers
- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFlowEntitlementRequest.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
UpdateFlowEntitlementRequest.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.
-