Class AgreementRequestTerm

java.lang.Object
software.amazon.awssdk.services.marketplaceagreement.model.AgreementRequestTerm
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AgreementRequestTerm.Builder,AgreementRequestTerm>

@Generated("software.amazon.awssdk:codegen") public final class AgreementRequestTerm extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgreementRequestTerm.Builder,AgreementRequestTerm>

A subset of terms proposed by the proposer, which have been requested by the acceptor as part of the agreement request.

See Also:
  • Method Details

    • 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).
    • 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.
    • 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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.

      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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • variablePaymentTerm

      public final VariablePaymentTerm variablePaymentTerm()

      Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.

      Returns:
      Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.
    • netPaymentTerm

      public final NetPaymentTerm netPaymentTerm()

      Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.

      Returns:
      Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.
    • toBuilder

      public AgreementRequestTerm.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<AgreementRequestTerm.Builder,AgreementRequestTerm>
      Returns:
      a builder for type T
    • builder

      public static AgreementRequestTerm.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AgreementRequestTerm.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)
    • fromLegalTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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).
    • fromSupportTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromRenewalTerm

      public static AgreementRequestTerm 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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.

      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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.
    • fromRenewalTerm

      public static AgreementRequestTerm 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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.

      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. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from True to False or False to True, within the limits set by LockoutPeriod and MaxRenewals. Setting the flag to True doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.
    • fromUsageBasedPricingTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromConfigurableUpfrontPricingTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromByolPricingTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromRecurringPaymentTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromValidityTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromPaymentScheduleTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromFreeTrialPricingTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromFixedUpfrontPricingTerm

      public static AgreementRequestTerm 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 AgreementRequestTerm 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.
    • fromVariablePaymentTerm

      public static AgreementRequestTerm fromVariablePaymentTerm(VariablePaymentTerm variablePaymentTerm)
      Create an instance of this class with variablePaymentTerm() initialized to the given value.

      Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.

      Parameters:
      variablePaymentTerm - Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.
    • fromVariablePaymentTerm

      public static AgreementRequestTerm fromVariablePaymentTerm(Consumer<VariablePaymentTerm.Builder> variablePaymentTerm)
      Create an instance of this class with variablePaymentTerm() initialized to the given value.

      Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.

      Parameters:
      variablePaymentTerm - Defines a payment model where sellers can submit variable payment requests up to a maximum charge amount, with configurable approval strategies and expiration timelines.
    • fromNetPaymentTerm

      public static AgreementRequestTerm fromNetPaymentTerm(NetPaymentTerm netPaymentTerm)
      Create an instance of this class with netPaymentTerm() initialized to the given value.

      Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.

      Parameters:
      netPaymentTerm - Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.
    • fromNetPaymentTerm

      public static AgreementRequestTerm fromNetPaymentTerm(Consumer<NetPaymentTerm.Builder> netPaymentTerm)
      Create an instance of this class with netPaymentTerm() initialized to the given value.

      Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.

      Parameters:
      netPaymentTerm - Defines the net payment due period for the agreement, specifying when payment is due after an invoice is issued.
    • 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 AgreementRequestTerm.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 AgreementRequestTerm.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.