Interface FreeTrialPricingTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FreeTrialPricingTerm.Builder,FreeTrialPricingTerm>,SdkBuilder<FreeTrialPricingTerm.Builder,FreeTrialPricingTerm>,SdkPojo
- Enclosing class:
- FreeTrialPricingTerm
public static interface FreeTrialPricingTerm.Builder extends SdkPojo, CopyableBuilder<FreeTrialPricingTerm.Builder,FreeTrialPricingTerm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FreeTrialPricingTerm.Builderduration(String duration)Duration of the free trial period (5–31 days).FreeTrialPricingTerm.Buildergrants(Collection<GrantItem> grants)Entitlements granted to the acceptor of a free trial as part of an agreement execution.FreeTrialPricingTerm.Buildergrants(Consumer<GrantItem.Builder>... grants)Entitlements granted to the acceptor of a free trial as part of an agreement execution.FreeTrialPricingTerm.Buildergrants(GrantItem... grants)Entitlements granted to the acceptor of a free trial as part of an agreement execution.FreeTrialPricingTerm.Buildertype(String type)Category of the term.-
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
-
duration
FreeTrialPricingTerm.Builder duration(String duration)
Duration of the free trial period (5–31 days).
- Parameters:
duration- Duration of the free trial period (5–31 days).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
FreeTrialPricingTerm.Builder grants(Collection<GrantItem> grants)
Entitlements granted to the acceptor of a free trial as part of an agreement execution.
- Parameters:
grants- Entitlements granted to the acceptor of a free trial as part of an agreement execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
FreeTrialPricingTerm.Builder grants(GrantItem... grants)
Entitlements granted to the acceptor of a free trial as part of an agreement execution.
- Parameters:
grants- Entitlements granted to the acceptor of a free trial as part of an agreement execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
FreeTrialPricingTerm.Builder grants(Consumer<GrantItem.Builder>... grants)
Entitlements granted to the acceptor of a free trial as part of an agreement execution.
This is a convenience method that creates an instance of theGrantItem.Builderavoiding the need to create one manually viaGrantItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#grants(List.) - Parameters:
grants- a consumer that will call methods onGrantItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#grants(java.util.Collection)
-
type
FreeTrialPricingTerm.Builder type(String type)
Category of the term.
- Parameters:
type- Category of the term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-