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
Modifier and TypeMethodDescriptionDuration of the free trial period (5–31 days).grants(Collection<GrantItem> grants) Entitlements granted to the acceptor of a free trial as part of an agreement execution.grants(Consumer<GrantItem.Builder>... grants) Entitlements granted to the acceptor of a free trial as part of an agreement execution.Entitlements granted to the acceptor of a free trial as part of an agreement execution.Category of the term.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 togrants(List<GrantItem>).- 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:
-
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.
-