Class AcceptedTerm
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AcceptedTerm.Builder,
AcceptedTerm>
A subset of terms proposed by the proposer, which have been accepted by the acceptor as part of agreement creation.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic AcceptedTerm.Builder
builder()
final ByolPricingTerm
Enables you and your customers to move your existing agreements to AWS Marketplace.Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FixedUpfrontPricingTerm
Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.final FreeTrialPricingTerm
Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.static AcceptedTerm
fromByolPricingTerm
(Consumer<ByolPricingTerm.Builder> byolPricingTerm) Create an instance of this class withbyolPricingTerm()
initialized to the given value.static AcceptedTerm
fromByolPricingTerm
(ByolPricingTerm byolPricingTerm) Create an instance of this class withbyolPricingTerm()
initialized to the given value.static AcceptedTerm
fromConfigurableUpfrontPricingTerm
(Consumer<ConfigurableUpfrontPricingTerm.Builder> configurableUpfrontPricingTerm) Create an instance of this class withconfigurableUpfrontPricingTerm()
initialized to the given value.static AcceptedTerm
fromConfigurableUpfrontPricingTerm
(ConfigurableUpfrontPricingTerm configurableUpfrontPricingTerm) Create an instance of this class withconfigurableUpfrontPricingTerm()
initialized to the given value.static AcceptedTerm
fromFixedUpfrontPricingTerm
(Consumer<FixedUpfrontPricingTerm.Builder> fixedUpfrontPricingTerm) Create an instance of this class withfixedUpfrontPricingTerm()
initialized to the given value.static AcceptedTerm
fromFixedUpfrontPricingTerm
(FixedUpfrontPricingTerm fixedUpfrontPricingTerm) Create an instance of this class withfixedUpfrontPricingTerm()
initialized to the given value.static AcceptedTerm
fromFreeTrialPricingTerm
(Consumer<FreeTrialPricingTerm.Builder> freeTrialPricingTerm) Create an instance of this class withfreeTrialPricingTerm()
initialized to the given value.static AcceptedTerm
fromFreeTrialPricingTerm
(FreeTrialPricingTerm freeTrialPricingTerm) Create an instance of this class withfreeTrialPricingTerm()
initialized to the given value.static AcceptedTerm
fromLegalTerm
(Consumer<LegalTerm.Builder> legalTerm) Create an instance of this class withlegalTerm()
initialized to the given value.static AcceptedTerm
fromLegalTerm
(LegalTerm legalTerm) Create an instance of this class withlegalTerm()
initialized to the given value.static AcceptedTerm
fromPaymentScheduleTerm
(Consumer<PaymentScheduleTerm.Builder> paymentScheduleTerm) Create an instance of this class withpaymentScheduleTerm()
initialized to the given value.static AcceptedTerm
fromPaymentScheduleTerm
(PaymentScheduleTerm paymentScheduleTerm) Create an instance of this class withpaymentScheduleTerm()
initialized to the given value.static AcceptedTerm
fromRecurringPaymentTerm
(Consumer<RecurringPaymentTerm.Builder> recurringPaymentTerm) Create an instance of this class withrecurringPaymentTerm()
initialized to the given value.static AcceptedTerm
fromRecurringPaymentTerm
(RecurringPaymentTerm recurringPaymentTerm) Create an instance of this class withrecurringPaymentTerm()
initialized to the given value.static AcceptedTerm
fromRenewalTerm
(Consumer<RenewalTerm.Builder> renewalTerm) Create an instance of this class withrenewalTerm()
initialized to the given value.static AcceptedTerm
fromRenewalTerm
(RenewalTerm renewalTerm) Create an instance of this class withrenewalTerm()
initialized to the given value.static AcceptedTerm
fromSupportTerm
(Consumer<SupportTerm.Builder> supportTerm) Create an instance of this class withsupportTerm()
initialized to the given value.static AcceptedTerm
fromSupportTerm
(SupportTerm supportTerm) Create an instance of this class withsupportTerm()
initialized to the given value.static AcceptedTerm
fromUsageBasedPricingTerm
(Consumer<UsageBasedPricingTerm.Builder> usageBasedPricingTerm) Create an instance of this class withusageBasedPricingTerm()
initialized to the given value.static AcceptedTerm
fromUsageBasedPricingTerm
(UsageBasedPricingTerm usageBasedPricingTerm) Create an instance of this class withusageBasedPricingTerm()
initialized to the given value.static AcceptedTerm
fromValidityTerm
(Consumer<ValidityTerm.Builder> validityTerm) Create an instance of this class withvalidityTerm()
initialized to the given value.static AcceptedTerm
fromValidityTerm
(ValidityTerm validityTerm) Create an instance of this class withvalidityTerm()
initialized to the given value.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final LegalTerm
Defines the list of text agreements proposed to the acceptors.final PaymentScheduleTerm
Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period.final RecurringPaymentTerm
Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.final RenewalTerm
Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement.static Class
<? extends AcceptedTerm.Builder> final SupportTerm
Defines the customer support available for the acceptors when they purchase the software.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.type()
Retrieve an enum value representing which member of this object is populated.final UsageBasedPricingTerm
Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.final ValidityTerm
Defines the conditions that will keep an agreement created from this offer valid.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
byolPricingTerm
Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
- Returns:
- Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
-
configurableUpfrontPricingTerm
Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
- Returns:
- Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
-
fixedUpfrontPricingTerm
Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
- Returns:
- Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
-
freeTrialPricingTerm
Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
- Returns:
- Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
-
legalTerm
Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
- Returns:
- Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
-
paymentScheduleTerm
Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
- Returns:
- Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
-
recurringPaymentTerm
Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
- Returns:
- Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
-
renewalTerm
Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of
RenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.- Returns:
- Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end
date), a new agreement will be created using the accepted terms on the existing agreement. In other
words, the agreement will be renewed. Presence of
RenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.
-
supportTerm
Defines the customer support available for the acceptors when they purchase the software.
- Returns:
- Defines the customer support available for the acceptors when they purchase the software.
-
usageBasedPricingTerm
Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
- Returns:
- Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
-
validityTerm
Defines the conditions that will keep an agreement created from this offer valid.
- Returns:
- Defines the conditions that will keep an agreement created from this offer valid.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AcceptedTerm.Builder,
AcceptedTerm> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromByolPricingTerm
Create an instance of this class withbyolPricingTerm()
initialized to the given value.Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
- Parameters:
byolPricingTerm
- Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
-
fromByolPricingTerm
Create an instance of this class withbyolPricingTerm()
initialized to the given value.Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
- Parameters:
byolPricingTerm
- Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
-
fromConfigurableUpfrontPricingTerm
public static AcceptedTerm fromConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm configurableUpfrontPricingTerm) Create an instance of this class withconfigurableUpfrontPricingTerm()
initialized to the given value.Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
- Parameters:
configurableUpfrontPricingTerm
- Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
-
fromConfigurableUpfrontPricingTerm
public static AcceptedTerm fromConfigurableUpfrontPricingTerm(Consumer<ConfigurableUpfrontPricingTerm.Builder> configurableUpfrontPricingTerm) Create an instance of this class withconfigurableUpfrontPricingTerm()
initialized to the given value.Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
- Parameters:
configurableUpfrontPricingTerm
- Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
-
fromFixedUpfrontPricingTerm
public static AcceptedTerm fromFixedUpfrontPricingTerm(FixedUpfrontPricingTerm fixedUpfrontPricingTerm) Create an instance of this class withfixedUpfrontPricingTerm()
initialized to the given value.Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
- Parameters:
fixedUpfrontPricingTerm
- Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
-
fromFixedUpfrontPricingTerm
public static AcceptedTerm fromFixedUpfrontPricingTerm(Consumer<FixedUpfrontPricingTerm.Builder> fixedUpfrontPricingTerm) Create an instance of this class withfixedUpfrontPricingTerm()
initialized to the given value.Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
- Parameters:
fixedUpfrontPricingTerm
- Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
-
fromFreeTrialPricingTerm
Create an instance of this class withfreeTrialPricingTerm()
initialized to the given value.Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
- Parameters:
freeTrialPricingTerm
- Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
-
fromFreeTrialPricingTerm
public static AcceptedTerm fromFreeTrialPricingTerm(Consumer<FreeTrialPricingTerm.Builder> freeTrialPricingTerm) Create an instance of this class withfreeTrialPricingTerm()
initialized to the given value.Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
- Parameters:
freeTrialPricingTerm
- Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
-
fromLegalTerm
Create an instance of this class withlegalTerm()
initialized to the given value.Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
- Parameters:
legalTerm
- Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
-
fromLegalTerm
Create an instance of this class withlegalTerm()
initialized to the given value.Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
- Parameters:
legalTerm
- Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
-
fromPaymentScheduleTerm
Create an instance of this class withpaymentScheduleTerm()
initialized to the given value.Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
- Parameters:
paymentScheduleTerm
- Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
-
fromPaymentScheduleTerm
public static AcceptedTerm fromPaymentScheduleTerm(Consumer<PaymentScheduleTerm.Builder> paymentScheduleTerm) Create an instance of this class withpaymentScheduleTerm()
initialized to the given value.Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
- Parameters:
paymentScheduleTerm
- Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
-
fromRecurringPaymentTerm
Create an instance of this class withrecurringPaymentTerm()
initialized to the given value.Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
- Parameters:
recurringPaymentTerm
- Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
-
fromRecurringPaymentTerm
public static AcceptedTerm fromRecurringPaymentTerm(Consumer<RecurringPaymentTerm.Builder> recurringPaymentTerm) Create an instance of this class withrecurringPaymentTerm()
initialized to the given value.Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
- Parameters:
recurringPaymentTerm
- Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
-
fromRenewalTerm
Create an instance of this class withrenewalTerm()
initialized to the given value.Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of
RenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.- Parameters:
renewalTerm
- Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence ofRenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.
-
fromRenewalTerm
Create an instance of this class withrenewalTerm()
initialized to the given value.Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of
RenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.- Parameters:
renewalTerm
- Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence ofRenewalTerm
in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag fromTrue
toFalse
orFalse
toTrue
at anytime during the agreement's lifecycle.
-
fromSupportTerm
Create an instance of this class withsupportTerm()
initialized to the given value.Defines the customer support available for the acceptors when they purchase the software.
- Parameters:
supportTerm
- Defines the customer support available for the acceptors when they purchase the software.
-
fromSupportTerm
Create an instance of this class withsupportTerm()
initialized to the given value.Defines the customer support available for the acceptors when they purchase the software.
- Parameters:
supportTerm
- Defines the customer support available for the acceptors when they purchase the software.
-
fromUsageBasedPricingTerm
Create an instance of this class withusageBasedPricingTerm()
initialized to the given value.Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
- Parameters:
usageBasedPricingTerm
- Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
-
fromUsageBasedPricingTerm
public static AcceptedTerm fromUsageBasedPricingTerm(Consumer<UsageBasedPricingTerm.Builder> usageBasedPricingTerm) Create an instance of this class withusageBasedPricingTerm()
initialized to the given value.Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
- Parameters:
usageBasedPricingTerm
- Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
-
fromValidityTerm
Create an instance of this class withvalidityTerm()
initialized to the given value.Defines the conditions that will keep an agreement created from this offer valid.
- Parameters:
validityTerm
- Defines the conditions that will keep an agreement created from this offer valid.
-
fromValidityTerm
Create an instance of this class withvalidityTerm()
initialized to the given value.Defines the conditions that will keep an agreement created from this offer valid.
- Parameters:
validityTerm
- Defines the conditions that will keep an agreement created from this offer valid.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAcceptedTerm.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beAcceptedTerm.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-