Interface RequestedTermConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RequestedTermConfiguration.Builder,,RequestedTermConfiguration> SdkBuilder<RequestedTermConfiguration.Builder,,RequestedTermConfiguration> SdkPojo
- Enclosing class:
RequestedTermConfiguration
@Mutable
@NotThreadSafe
public static interface RequestedTermConfiguration.Builder
extends SdkPojo, CopyableBuilder<RequestedTermConfiguration.Builder,RequestedTermConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurableUpfrontPricingTermConfiguration(Consumer<ConfigurableUpfrontPricingTermConfiguration.Builder> configurableUpfrontPricingTermConfiguration) Sets the value of the ConfigurableUpfrontPricingTermConfiguration property for this object.configurableUpfrontPricingTermConfiguration(ConfigurableUpfrontPricingTermConfiguration configurableUpfrontPricingTermConfiguration) Sets the value of the ConfigurableUpfrontPricingTermConfiguration property for this object.renewalTermConfiguration(Consumer<RenewalTermConfiguration.Builder> renewalTermConfiguration) Sets the value of the RenewalTermConfiguration property for this object.renewalTermConfiguration(RenewalTermConfiguration renewalTermConfiguration) Sets the value of the RenewalTermConfiguration property for this object.variablePaymentTermConfiguration(Consumer<VariablePaymentTermConfiguration.Builder> variablePaymentTermConfiguration) Sets the value of the VariablePaymentTermConfiguration property for this object.variablePaymentTermConfiguration(VariablePaymentTermConfiguration variablePaymentTermConfiguration) Sets the value of the VariablePaymentTermConfiguration 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
-
configurableUpfrontPricingTermConfiguration
RequestedTermConfiguration.Builder configurableUpfrontPricingTermConfiguration(ConfigurableUpfrontPricingTermConfiguration configurableUpfrontPricingTermConfiguration) Sets the value of the ConfigurableUpfrontPricingTermConfiguration property for this object.- Parameters:
configurableUpfrontPricingTermConfiguration- The new value for the ConfigurableUpfrontPricingTermConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurableUpfrontPricingTermConfiguration
default RequestedTermConfiguration.Builder configurableUpfrontPricingTermConfiguration(Consumer<ConfigurableUpfrontPricingTermConfiguration.Builder> configurableUpfrontPricingTermConfiguration) Sets the value of the ConfigurableUpfrontPricingTermConfiguration property for this object. This is a convenience method that creates an instance of theConfigurableUpfrontPricingTermConfiguration.Builderavoiding the need to create one manually viaConfigurableUpfrontPricingTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurableUpfrontPricingTermConfiguration(ConfigurableUpfrontPricingTermConfiguration).- Parameters:
configurableUpfrontPricingTermConfiguration- a consumer that will call methods onConfigurableUpfrontPricingTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
renewalTermConfiguration
RequestedTermConfiguration.Builder renewalTermConfiguration(RenewalTermConfiguration renewalTermConfiguration) Sets the value of the RenewalTermConfiguration property for this object.- Parameters:
renewalTermConfiguration- The new value for the RenewalTermConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalTermConfiguration
default RequestedTermConfiguration.Builder renewalTermConfiguration(Consumer<RenewalTermConfiguration.Builder> renewalTermConfiguration) Sets the value of the RenewalTermConfiguration property for this object. This is a convenience method that creates an instance of theRenewalTermConfiguration.Builderavoiding the need to create one manually viaRenewalTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torenewalTermConfiguration(RenewalTermConfiguration).- Parameters:
renewalTermConfiguration- a consumer that will call methods onRenewalTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
variablePaymentTermConfiguration
RequestedTermConfiguration.Builder variablePaymentTermConfiguration(VariablePaymentTermConfiguration variablePaymentTermConfiguration) Sets the value of the VariablePaymentTermConfiguration property for this object.- Parameters:
variablePaymentTermConfiguration- The new value for the VariablePaymentTermConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variablePaymentTermConfiguration
default RequestedTermConfiguration.Builder variablePaymentTermConfiguration(Consumer<VariablePaymentTermConfiguration.Builder> variablePaymentTermConfiguration) Sets the value of the VariablePaymentTermConfiguration property for this object. This is a convenience method that creates an instance of theVariablePaymentTermConfiguration.Builderavoiding the need to create one manually viaVariablePaymentTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariablePaymentTermConfiguration(VariablePaymentTermConfiguration).- Parameters:
variablePaymentTermConfiguration- a consumer that will call methods onVariablePaymentTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-