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:
  • Method Details

    • 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 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 from True to False or False to True 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 from True to False or False to True at 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()
      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 interface ToCopyableBuilder<AcceptedTerm.Builder,AcceptedTerm>
      Returns:
      a builder for type T
    • builder

      public static AcceptedTerm.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AcceptedTerm.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • fromByolPricingTerm

      public static AcceptedTerm fromByolPricingTerm(ByolPricingTerm byolPricingTerm)
      Create an instance of this class with byolPricingTerm() 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 with byolPricingTerm() 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 with configurableUpfrontPricingTerm() 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 with configurableUpfrontPricingTerm() 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 with fixedUpfrontPricingTerm() 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 with fixedUpfrontPricingTerm() 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 with freeTrialPricingTerm() 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 with freeTrialPricingTerm() 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 with legalTerm() 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 with legalTerm() 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 with paymentScheduleTerm() 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 with paymentScheduleTerm() 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 with recurringPaymentTerm() 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 with recurringPaymentTerm() 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 with renewalTerm() 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 from True to False or False to True 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 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 from True to False or False to True at anytime during the agreement's lifecycle.
    • fromRenewalTerm

      public static AcceptedTerm fromRenewalTerm(Consumer<RenewalTerm.Builder> renewalTerm)
      Create an instance of this class with renewalTerm() 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 from True to False or False to True 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 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 from True to False or False to True at anytime during the agreement's lifecycle.
    • fromSupportTerm

      public static AcceptedTerm fromSupportTerm(SupportTerm supportTerm)
      Create an instance of this class with supportTerm() 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 with supportTerm() 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 with usageBasedPricingTerm() 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 with usageBasedPricingTerm() 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 with validityTerm() 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 with validityTerm() 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 be AcceptedTerm.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 be AcceptedTerm.Type.UNKNOWN_TO_SDK_VERSION if zero members are set, and null if more than one member is set.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.