Interface FixedUpfrontPricingTerm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FixedUpfrontPricingTerm.Builder,
,FixedUpfrontPricingTerm> SdkBuilder<FixedUpfrontPricingTerm.Builder,
,FixedUpfrontPricingTerm> SdkPojo
- Enclosing class:
FixedUpfrontPricingTerm
public static interface FixedUpfrontPricingTerm.Builder
extends SdkPojo, CopyableBuilder<FixedUpfrontPricingTerm.Builder,FixedUpfrontPricingTerm>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) Defines the currency for the prices mentioned in this term.Contract duration for the terms.grants
(Collection<GrantItem> grants) Entitlements granted to the acceptor of fixed upfront as part of agreement execution.grants
(Consumer<GrantItem.Builder>... grants) Entitlements granted to the acceptor of fixed upfront as part of agreement execution.Entitlements granted to the acceptor of fixed upfront as part of agreement execution.Fixed amount to be charged to the customer when this term is accepted.Category of the term being updated.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
-
currencyCode
Defines the currency for the prices mentioned in this term.
- Parameters:
currencyCode
- Defines the currency for the prices mentioned in this term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
Contract duration for the terms.
- Parameters:
duration
- Contract duration for the terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
- Parameters:
grants
- Entitlements granted to the acceptor of fixed upfront as part of agreement execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
- Parameters:
grants
- Entitlements granted to the acceptor of fixed upfront as part of agreement execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
This is a convenience method that creates an instance of theGrantItem.Builder
avoiding the need to create one manually viaGrantItem.builder()
.When the
Consumer
completes,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:
-
price
Fixed amount to be charged to the customer when this term is accepted.
- Parameters:
price
- Fixed amount to be charged to the customer when this term is accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Category of the term being updated.
- Parameters:
type
- Category of the term being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-