Interface OfferTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OfferTerm.Builder,,OfferTerm> SdkBuilder<OfferTerm.Builder,,OfferTerm> SdkPojo
- Enclosing class:
OfferTerm
-
Method Summary
Modifier and TypeMethodDescriptiondefault OfferTerm.BuilderbyolPricingTerm(Consumer<ByolPricingTerm.Builder> byolPricingTerm) Sets the value of the ByolPricingTerm property for this object.byolPricingTerm(ByolPricingTerm byolPricingTerm) Sets the value of the ByolPricingTerm property for this object.default OfferTerm.BuilderconfigurableUpfrontPricingTerm(Consumer<ConfigurableUpfrontPricingTerm.Builder> configurableUpfrontPricingTerm) Sets the value of the ConfigurableUpfrontPricingTerm property for this object.configurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm configurableUpfrontPricingTerm) Sets the value of the ConfigurableUpfrontPricingTerm property for this object.default OfferTerm.BuilderfixedUpfrontPricingTerm(Consumer<FixedUpfrontPricingTerm.Builder> fixedUpfrontPricingTerm) Sets the value of the FixedUpfrontPricingTerm property for this object.fixedUpfrontPricingTerm(FixedUpfrontPricingTerm fixedUpfrontPricingTerm) Sets the value of the FixedUpfrontPricingTerm property for this object.default OfferTerm.BuilderfreeTrialPricingTerm(Consumer<FreeTrialPricingTerm.Builder> freeTrialPricingTerm) Sets the value of the FreeTrialPricingTerm property for this object.freeTrialPricingTerm(FreeTrialPricingTerm freeTrialPricingTerm) Sets the value of the FreeTrialPricingTerm property for this object.default OfferTerm.BuilderlegalTerm(Consumer<LegalTerm.Builder> legalTerm) Sets the value of the LegalTerm property for this object.Sets the value of the LegalTerm property for this object.default OfferTerm.BuilderpaymentScheduleTerm(Consumer<PaymentScheduleTerm.Builder> paymentScheduleTerm) Sets the value of the PaymentScheduleTerm property for this object.paymentScheduleTerm(PaymentScheduleTerm paymentScheduleTerm) Sets the value of the PaymentScheduleTerm property for this object.default OfferTerm.BuilderrecurringPaymentTerm(Consumer<RecurringPaymentTerm.Builder> recurringPaymentTerm) Sets the value of the RecurringPaymentTerm property for this object.recurringPaymentTerm(RecurringPaymentTerm recurringPaymentTerm) Sets the value of the RecurringPaymentTerm property for this object.default OfferTerm.BuilderrenewalTerm(Consumer<RenewalTerm.Builder> renewalTerm) Sets the value of the RenewalTerm property for this object.renewalTerm(RenewalTerm renewalTerm) Sets the value of the RenewalTerm property for this object.default OfferTerm.BuildersupportTerm(Consumer<SupportTerm.Builder> supportTerm) Sets the value of the SupportTerm property for this object.supportTerm(SupportTerm supportTerm) Sets the value of the SupportTerm property for this object.default OfferTerm.BuilderusageBasedPricingTerm(Consumer<UsageBasedPricingTerm.Builder> usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object.usageBasedPricingTerm(UsageBasedPricingTerm usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object.default OfferTerm.BuildervalidityTerm(Consumer<ValidityTerm.Builder> validityTerm) Sets the value of the ValidityTerm property for this object.validityTerm(ValidityTerm validityTerm) Sets the value of the ValidityTerm property for this object.default OfferTerm.BuildervariablePaymentTerm(Consumer<VariablePaymentTerm.Builder> variablePaymentTerm) Sets the value of the VariablePaymentTerm property for this object.variablePaymentTerm(VariablePaymentTerm variablePaymentTerm) Sets the value of the VariablePaymentTerm property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
byolPricingTerm
Sets the value of the ByolPricingTerm property for this object.- Parameters:
byolPricingTerm- The new value for the ByolPricingTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byolPricingTerm
Sets the value of the ByolPricingTerm property for this object. This is a convenience method that creates an instance of theByolPricingTerm.Builderavoiding the need to create one manually viaByolPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobyolPricingTerm(ByolPricingTerm).- Parameters:
byolPricingTerm- a consumer that will call methods onByolPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurableUpfrontPricingTerm
OfferTerm.Builder configurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm configurableUpfrontPricingTerm) Sets the value of the ConfigurableUpfrontPricingTerm property for this object.- Parameters:
configurableUpfrontPricingTerm- The new value for the ConfigurableUpfrontPricingTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurableUpfrontPricingTerm
default OfferTerm.Builder configurableUpfrontPricingTerm(Consumer<ConfigurableUpfrontPricingTerm.Builder> configurableUpfrontPricingTerm) Sets the value of the ConfigurableUpfrontPricingTerm property for this object. This is a convenience method that creates an instance of theConfigurableUpfrontPricingTerm.Builderavoiding the need to create one manually viaConfigurableUpfrontPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm).- Parameters:
configurableUpfrontPricingTerm- a consumer that will call methods onConfigurableUpfrontPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fixedUpfrontPricingTerm
Sets the value of the FixedUpfrontPricingTerm property for this object.- Parameters:
fixedUpfrontPricingTerm- The new value for the FixedUpfrontPricingTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedUpfrontPricingTerm
default OfferTerm.Builder fixedUpfrontPricingTerm(Consumer<FixedUpfrontPricingTerm.Builder> fixedUpfrontPricingTerm) Sets the value of the FixedUpfrontPricingTerm property for this object. This is a convenience method that creates an instance of theFixedUpfrontPricingTerm.Builderavoiding the need to create one manually viaFixedUpfrontPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofixedUpfrontPricingTerm(FixedUpfrontPricingTerm).- Parameters:
fixedUpfrontPricingTerm- a consumer that will call methods onFixedUpfrontPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
freeTrialPricingTerm
Sets the value of the FreeTrialPricingTerm property for this object.- Parameters:
freeTrialPricingTerm- The new value for the FreeTrialPricingTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTrialPricingTerm
default OfferTerm.Builder freeTrialPricingTerm(Consumer<FreeTrialPricingTerm.Builder> freeTrialPricingTerm) Sets the value of the FreeTrialPricingTerm property for this object. This is a convenience method that creates an instance of theFreeTrialPricingTerm.Builderavoiding the need to create one manually viaFreeTrialPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofreeTrialPricingTerm(FreeTrialPricingTerm).- Parameters:
freeTrialPricingTerm- a consumer that will call methods onFreeTrialPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legalTerm
Sets the value of the LegalTerm property for this object.- Parameters:
legalTerm- The new value for the LegalTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalTerm
Sets the value of the LegalTerm property for this object. This is a convenience method that creates an instance of theLegalTerm.Builderavoiding the need to create one manually viaLegalTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolegalTerm(LegalTerm).- Parameters:
legalTerm- a consumer that will call methods onLegalTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentScheduleTerm
Sets the value of the PaymentScheduleTerm property for this object.- Parameters:
paymentScheduleTerm- The new value for the PaymentScheduleTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentScheduleTerm
default OfferTerm.Builder paymentScheduleTerm(Consumer<PaymentScheduleTerm.Builder> paymentScheduleTerm) Sets the value of the PaymentScheduleTerm property for this object. This is a convenience method that creates an instance of thePaymentScheduleTerm.Builderavoiding the need to create one manually viaPaymentScheduleTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentScheduleTerm(PaymentScheduleTerm).- Parameters:
paymentScheduleTerm- a consumer that will call methods onPaymentScheduleTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringPaymentTerm
Sets the value of the RecurringPaymentTerm property for this object.- Parameters:
recurringPaymentTerm- The new value for the RecurringPaymentTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringPaymentTerm
default OfferTerm.Builder recurringPaymentTerm(Consumer<RecurringPaymentTerm.Builder> recurringPaymentTerm) Sets the value of the RecurringPaymentTerm property for this object. This is a convenience method that creates an instance of theRecurringPaymentTerm.Builderavoiding the need to create one manually viaRecurringPaymentTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecurringPaymentTerm(RecurringPaymentTerm).- Parameters:
recurringPaymentTerm- a consumer that will call methods onRecurringPaymentTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
renewalTerm
Sets the value of the RenewalTerm property for this object.- Parameters:
renewalTerm- The new value for the RenewalTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalTerm
Sets the value of the RenewalTerm property for this object. This is a convenience method that creates an instance of theRenewalTerm.Builderavoiding the need to create one manually viaRenewalTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torenewalTerm(RenewalTerm).- Parameters:
renewalTerm- a consumer that will call methods onRenewalTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportTerm
Sets the value of the SupportTerm property for this object.- Parameters:
supportTerm- The new value for the SupportTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportTerm
Sets the value of the SupportTerm property for this object. This is a convenience method that creates an instance of theSupportTerm.Builderavoiding the need to create one manually viaSupportTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportTerm(SupportTerm).- Parameters:
supportTerm- a consumer that will call methods onSupportTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageBasedPricingTerm
Sets the value of the UsageBasedPricingTerm property for this object.- Parameters:
usageBasedPricingTerm- The new value for the UsageBasedPricingTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageBasedPricingTerm
default OfferTerm.Builder usageBasedPricingTerm(Consumer<UsageBasedPricingTerm.Builder> usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object. This is a convenience method that creates an instance of theUsageBasedPricingTerm.Builderavoiding the need to create one manually viaUsageBasedPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousageBasedPricingTerm(UsageBasedPricingTerm).- Parameters:
usageBasedPricingTerm- a consumer that will call methods onUsageBasedPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validityTerm
Sets the value of the ValidityTerm property for this object.- Parameters:
validityTerm- The new value for the ValidityTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validityTerm
Sets the value of the ValidityTerm property for this object. This is a convenience method that creates an instance of theValidityTerm.Builderavoiding the need to create one manually viaValidityTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidityTerm(ValidityTerm).- Parameters:
validityTerm- a consumer that will call methods onValidityTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
variablePaymentTerm
Sets the value of the VariablePaymentTerm property for this object.- Parameters:
variablePaymentTerm- The new value for the VariablePaymentTerm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variablePaymentTerm
default OfferTerm.Builder variablePaymentTerm(Consumer<VariablePaymentTerm.Builder> variablePaymentTerm) Sets the value of the VariablePaymentTerm property for this object. This is a convenience method that creates an instance of theVariablePaymentTerm.Builderavoiding the need to create one manually viaVariablePaymentTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariablePaymentTerm(VariablePaymentTerm).- Parameters:
variablePaymentTerm- a consumer that will call methods onVariablePaymentTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-