Interface GrantEntitlementRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrantEntitlementRequest.Builder,GrantEntitlementRequest>,SdkBuilder<GrantEntitlementRequest.Builder,GrantEntitlementRequest>,SdkPojo
- Enclosing class:
- GrantEntitlementRequest
public static interface GrantEntitlementRequest.Builder extends SdkPojo, CopyableBuilder<GrantEntitlementRequest.Builder,GrantEntitlementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GrantEntitlementRequest.BuilderdataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)Percentage from 0-100 of the data transfer cost to be billed to the subscriber.GrantEntitlementRequest.Builderdescription(String description)A description of the entitlement.default GrantEntitlementRequest.Builderencryption(Consumer<Encryption.Builder> encryption)The type of encryption that will be used on the output that is associated with this entitlement.GrantEntitlementRequest.Builderencryption(Encryption encryption)The type of encryption that will be used on the output that is associated with this entitlement.GrantEntitlementRequest.BuilderentitlementStatus(String entitlementStatus)An indication of whether the new entitlement should be enabled or disabled as soon as it is created.GrantEntitlementRequest.BuilderentitlementStatus(EntitlementStatus entitlementStatus)An indication of whether the new entitlement should be enabled or disabled as soon as it is created.GrantEntitlementRequest.Buildername(String name)The name of the entitlement.GrantEntitlementRequest.Buildersubscribers(String... subscribers)The AWS account IDs that you want to share your content with.GrantEntitlementRequest.Buildersubscribers(Collection<String> subscribers)The AWS account IDs that you want to share your content with.-
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
-
dataTransferSubscriberFeePercent
GrantEntitlementRequest.Builder dataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.- Parameters:
dataTransferSubscriberFeePercent- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GrantEntitlementRequest.Builder description(String 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
GrantEntitlementRequest.Builder encryption(Encryption encryption)
The type of encryption that will be used on the output that is associated with this entitlement. Allowable encryption types: static-key, speke.- Parameters:
encryption- The type of encryption that will be used on the output that is 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 GrantEntitlementRequest.Builder encryption(Consumer<Encryption.Builder> encryption)
The type of encryption that will be used on the output that is associated with this entitlement. Allowable encryption types: static-key, speke. This is a convenience method that creates an instance of theEncryption.Builderavoiding the need to create one manually viaEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryption(Encryption).- Parameters:
encryption- a consumer that will call methods onEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryption(Encryption)
-
entitlementStatus
GrantEntitlementRequest.Builder entitlementStatus(String entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.- Parameters:
entitlementStatus- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntitlementStatus,EntitlementStatus
-
entitlementStatus
GrantEntitlementRequest.Builder entitlementStatus(EntitlementStatus entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.- Parameters:
entitlementStatus- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EntitlementStatus,EntitlementStatus
-
name
GrantEntitlementRequest.Builder name(String name)
The name of the entitlement. This value must be unique within the current flow.- Parameters:
name- The name of the entitlement. This value must be unique within the current flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
GrantEntitlementRequest.Builder subscribers(Collection<String> subscribers)
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows 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 flows using your content as the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
GrantEntitlementRequest.Builder subscribers(String... subscribers)
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows 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 flows using your content as the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-