Class AcceptedTerm
- java.lang.Object
-
- software.amazon.awssdk.services.marketplaceagreement.model.AcceptedTerm
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AcceptedTerm.Builder,AcceptedTerm>
@Generated("software.amazon.awssdk:codegen") public final class AcceptedTerm extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAcceptedTerm.Builderstatic classAcceptedTerm.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceptedTerm.Builderbuilder()ByolPricingTermbyolPricingTerm()Enables you and your customers to move your existing agreements to AWS Marketplace.ConfigurableUpfrontPricingTermconfigurableUpfrontPricingTerm()Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FixedUpfrontPricingTermfixedUpfrontPricingTerm()Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.FreeTrialPricingTermfreeTrialPricingTerm()Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.static AcceptedTermfromByolPricingTerm(Consumer<ByolPricingTerm.Builder> byolPricingTerm)Create an instance of this class withbyolPricingTerm()initialized to the given value.static AcceptedTermfromByolPricingTerm(ByolPricingTerm byolPricingTerm)Create an instance of this class withbyolPricingTerm()initialized to the given value.static AcceptedTermfromConfigurableUpfrontPricingTerm(Consumer<ConfigurableUpfrontPricingTerm.Builder> configurableUpfrontPricingTerm)Create an instance of this class withconfigurableUpfrontPricingTerm()initialized to the given value.static AcceptedTermfromConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm configurableUpfrontPricingTerm)Create an instance of this class withconfigurableUpfrontPricingTerm()initialized to the given value.static AcceptedTermfromFixedUpfrontPricingTerm(Consumer<FixedUpfrontPricingTerm.Builder> fixedUpfrontPricingTerm)Create an instance of this class withfixedUpfrontPricingTerm()initialized to the given value.static AcceptedTermfromFixedUpfrontPricingTerm(FixedUpfrontPricingTerm fixedUpfrontPricingTerm)Create an instance of this class withfixedUpfrontPricingTerm()initialized to the given value.static AcceptedTermfromFreeTrialPricingTerm(Consumer<FreeTrialPricingTerm.Builder> freeTrialPricingTerm)Create an instance of this class withfreeTrialPricingTerm()initialized to the given value.static AcceptedTermfromFreeTrialPricingTerm(FreeTrialPricingTerm freeTrialPricingTerm)Create an instance of this class withfreeTrialPricingTerm()initialized to the given value.static AcceptedTermfromLegalTerm(Consumer<LegalTerm.Builder> legalTerm)Create an instance of this class withlegalTerm()initialized to the given value.static AcceptedTermfromLegalTerm(LegalTerm legalTerm)Create an instance of this class withlegalTerm()initialized to the given value.static AcceptedTermfromPaymentScheduleTerm(Consumer<PaymentScheduleTerm.Builder> paymentScheduleTerm)Create an instance of this class withpaymentScheduleTerm()initialized to the given value.static AcceptedTermfromPaymentScheduleTerm(PaymentScheduleTerm paymentScheduleTerm)Create an instance of this class withpaymentScheduleTerm()initialized to the given value.static AcceptedTermfromRecurringPaymentTerm(Consumer<RecurringPaymentTerm.Builder> recurringPaymentTerm)Create an instance of this class withrecurringPaymentTerm()initialized to the given value.static AcceptedTermfromRecurringPaymentTerm(RecurringPaymentTerm recurringPaymentTerm)Create an instance of this class withrecurringPaymentTerm()initialized to the given value.static AcceptedTermfromRenewalTerm(Consumer<RenewalTerm.Builder> renewalTerm)Create an instance of this class withrenewalTerm()initialized to the given value.static AcceptedTermfromRenewalTerm(RenewalTerm renewalTerm)Create an instance of this class withrenewalTerm()initialized to the given value.static AcceptedTermfromSupportTerm(Consumer<SupportTerm.Builder> supportTerm)Create an instance of this class withsupportTerm()initialized to the given value.static AcceptedTermfromSupportTerm(SupportTerm supportTerm)Create an instance of this class withsupportTerm()initialized to the given value.static AcceptedTermfromUsageBasedPricingTerm(Consumer<UsageBasedPricingTerm.Builder> usageBasedPricingTerm)Create an instance of this class withusageBasedPricingTerm()initialized to the given value.static AcceptedTermfromUsageBasedPricingTerm(UsageBasedPricingTerm usageBasedPricingTerm)Create an instance of this class withusageBasedPricingTerm()initialized to the given value.static AcceptedTermfromValidityTerm(Consumer<ValidityTerm.Builder> validityTerm)Create an instance of this class withvalidityTerm()initialized to the given value.static AcceptedTermfromValidityTerm(ValidityTerm validityTerm)Create an instance of this class withvalidityTerm()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LegalTermlegalTerm()Defines the list of text agreements proposed to the acceptors.PaymentScheduleTermpaymentScheduleTerm()Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period.RecurringPaymentTermrecurringPaymentTerm()Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.RenewalTermrenewalTerm()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.List<SdkField<?>>sdkFields()static Class<? extends AcceptedTerm.Builder>serializableBuilderClass()SupportTermsupportTerm()Defines the customer support available for the acceptors when they purchase the software.AcceptedTerm.BuildertoBuilder()StringtoString()Returns a string representation of this object.AcceptedTerm.Typetype()Retrieve an enum value representing which member of this object is populated.UsageBasedPricingTermusageBasedPricingTerm()Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.ValidityTermvalidityTerm()Defines the conditions that will keep an agreement created from this offer valid.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
byolPricingTerm
public final ByolPricingTerm 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
public final ConfigurableUpfrontPricingTerm 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
public final FixedUpfrontPricingTerm 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
public final FreeTrialPricingTerm 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
public final LegalTerm 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
public final PaymentScheduleTerm 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
public final RecurringPaymentTerm 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
public final RenewalTerm 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
RenewalTermin 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 fromTruetoFalseorFalsetoTrueat 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
RenewalTermin 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 fromTruetoFalseorFalsetoTrueat anytime during the agreement's lifecycle.
-
supportTerm
public final SupportTerm 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
public final UsageBasedPricingTerm 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
public final ValidityTerm 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
public AcceptedTerm.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AcceptedTerm.Builder,AcceptedTerm>
-
builder
public static AcceptedTerm.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceptedTerm.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromByolPricingTerm
public static AcceptedTerm fromByolPricingTerm(ByolPricingTerm byolPricingTerm)
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
public static AcceptedTerm fromByolPricingTerm(Consumer<ByolPricingTerm.Builder> byolPricingTerm)
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
public static AcceptedTerm fromFreeTrialPricingTerm(FreeTrialPricingTerm 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.
-
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
public static AcceptedTerm fromLegalTerm(LegalTerm legalTerm)
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
public static AcceptedTerm fromLegalTerm(Consumer<LegalTerm.Builder> legalTerm)
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
public static AcceptedTerm fromPaymentScheduleTerm(PaymentScheduleTerm 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.
-
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
public static AcceptedTerm fromRecurringPaymentTerm(RecurringPaymentTerm 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.
-
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
public static AcceptedTerm fromRenewalTerm(RenewalTerm renewalTerm)
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
RenewalTermin 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 fromTruetoFalseorFalsetoTrueat 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 ofRenewalTermin 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 fromTruetoFalseorFalsetoTrueat anytime during the agreement's lifecycle.
-
fromRenewalTerm
public static AcceptedTerm fromRenewalTerm(Consumer<RenewalTerm.Builder> renewalTerm)
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
RenewalTermin 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 fromTruetoFalseorFalsetoTrueat 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 ofRenewalTermin 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 fromTruetoFalseorFalsetoTrueat anytime during the agreement's lifecycle.
-
fromSupportTerm
public static AcceptedTerm fromSupportTerm(SupportTerm supportTerm)
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
public static AcceptedTerm fromSupportTerm(Consumer<SupportTerm.Builder> supportTerm)
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
public static AcceptedTerm fromUsageBasedPricingTerm(UsageBasedPricingTerm 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.
-
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
public static AcceptedTerm fromValidityTerm(ValidityTerm validityTerm)
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
public static AcceptedTerm fromValidityTerm(Consumer<ValidityTerm.Builder> validityTerm)
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
public AcceptedTerm.Type 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_VERSIONif 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_VERSIONif zero members are set, andnullif more than one member is set.
-
-