Interface Entitlement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Entitlement.Builder,
,Entitlement> SdkBuilder<Entitlement.Builder,
,Entitlement> SdkPojo
- Enclosing class:
Entitlement
public static interface Entitlement.Builder
extends SdkPojo, CopyableBuilder<Entitlement.Builder,Entitlement>
-
Method Summary
Modifier and TypeMethodDescriptiondataTransferSubscriberFeePercent
(Integer dataTransferSubscriberFeePercent) Percentage from 0-100 of the data transfer cost to be billed to the subscriber.description
(String description) A description of the entitlement.default Entitlement.Builder
encryption
(Consumer<Encryption.Builder> encryption) The type of encryption that will be used on the output that is associated with this entitlement.encryption
(Encryption encryption) The type of encryption that will be used on the output that is associated with this entitlement.entitlementArn
(String entitlementArn) The ARN of the entitlement.entitlementStatus
(String entitlementStatus) An indication of whether the entitlement is enabled.entitlementStatus
(EntitlementStatus entitlementStatus) An indication of whether the entitlement is enabled.The name of the entitlement.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.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 Details
-
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
A description of the entitlement.- Parameters:
description
- A description of the entitlement.- 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 that is associated with this entitlement.- Parameters:
encryption
- The type of encryption that will be used on the output that is associated with this entitlement.- 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 that is associated with this entitlement. This is a convenience method that creates an instance of theEncryption.Builder
avoiding the need to create one manually viaEncryption.builder()
.When the
Consumer
completes,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:
-
entitlementArn
The ARN of the entitlement.- Parameters:
entitlementArn
- The ARN of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementStatus
An indication of whether the entitlement is enabled.- Parameters:
entitlementStatus
- An indication of whether the entitlement is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlementStatus
An indication of whether the entitlement is enabled.- Parameters:
entitlementStatus
- An indication of whether the entitlement is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the entitlement.- Parameters:
name
- The name of the entitlement.- 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.
-