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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixedUpfrontPricingTerm.BuildercurrencyCode(String currencyCode)Defines the currency for the prices mentioned in this term.FixedUpfrontPricingTerm.Builderduration(String duration)Contract duration for the terms.FixedUpfrontPricingTerm.Buildergrants(Collection<GrantItem> grants)Entitlements granted to the acceptor of fixed upfront as part of agreement execution.FixedUpfrontPricingTerm.Buildergrants(Consumer<GrantItem.Builder>... grants)Entitlements granted to the acceptor of fixed upfront as part of agreement execution.FixedUpfrontPricingTerm.Buildergrants(GrantItem... grants)Entitlements granted to the acceptor of fixed upfront as part of agreement execution.FixedUpfrontPricingTerm.Builderprice(String price)Fixed amount to be charged to the customer when this term is accepted.FixedUpfrontPricingTerm.Buildertype(String type)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 Detail
-
currencyCode
FixedUpfrontPricingTerm.Builder currencyCode(String 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
FixedUpfrontPricingTerm.Builder duration(String 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
FixedUpfrontPricingTerm.Builder grants(Collection<GrantItem> 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
FixedUpfrontPricingTerm.Builder grants(GrantItem... 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
FixedUpfrontPricingTerm.Builder grants(Consumer<GrantItem.Builder>... 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.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)
-
price
FixedUpfrontPricingTerm.Builder price(String 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
FixedUpfrontPricingTerm.Builder type(String 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.
-
-