Interface FreeTrialPricingTerm.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FreeTrialPricingTerm.Builder,,- FreeTrialPricingTerm> - SdkBuilder<FreeTrialPricingTerm.Builder,,- FreeTrialPricingTerm> - SdkPojo
- Enclosing class:
- FreeTrialPricingTerm
@Mutable
@NotThreadSafe
public static interface FreeTrialPricingTerm.Builder
extends SdkPojo, CopyableBuilder<FreeTrialPricingTerm.Builder,FreeTrialPricingTerm> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
durationDuration 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.
 
- 
grantsEntitlements 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.
 
- 
grantsEntitlements 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.
 
- 
grantsEntitlements 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 on- GrantItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeCategory of the term. - Parameters:
- type- Category of the term.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-