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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Entitlement.BuilderdataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)Percentage from 0-100 of the data transfer cost to be billed to the subscriber.Entitlement.Builderdescription(String description)A description of the entitlement.default Entitlement.Builderencryption(Consumer<Encryption.Builder> encryption)The type of encryption that will be used on the output that is associated with this entitlement.Entitlement.Builderencryption(Encryption encryption)The type of encryption that will be used on the output that is associated with this entitlement.Entitlement.BuilderentitlementArn(String entitlementArn)The ARN of the entitlement.Entitlement.BuilderentitlementStatus(String entitlementStatus)An indication of whether the entitlement is enabled.Entitlement.BuilderentitlementStatus(EntitlementStatus entitlementStatus)An indication of whether the entitlement is enabled.Entitlement.Buildername(String name)The name of the entitlement.Entitlement.Buildersubscribers(String... subscribers)The AWS account IDs that you want to share your content with.Entitlement.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
Entitlement.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
Entitlement.Builder description(String 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
Entitlement.Builder encryption(Encryption 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
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. 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)
-
entitlementArn
Entitlement.Builder entitlementArn(String 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
Entitlement.Builder entitlementStatus(String 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,EntitlementStatus
-
entitlementStatus
Entitlement.Builder entitlementStatus(EntitlementStatus 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,EntitlementStatus
-
name
Entitlement.Builder name(String 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
Entitlement.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 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
Entitlement.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 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.
-
-