Interface RequestedTerm.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RequestedTerm.Builder,,RequestedTerm> SdkBuilder<RequestedTerm.Builder,,RequestedTerm> SdkPojo
- Enclosing class:
RequestedTerm
@Mutable
@NotThreadSafe
public static interface RequestedTerm.Builder
extends SdkPojo, CopyableBuilder<RequestedTerm.Builder,RequestedTerm>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RequestedTerm.Builderconfiguration(Consumer<RequestedTermConfiguration.Builder> configuration) Additional configuration for the requested terms.configuration(RequestedTermConfiguration configuration) Additional configuration for the requested terms.The unique identifier of the term in the agreement proposal.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
-
id
The unique identifier of the term in the agreement proposal.
- Parameters:
id- The unique identifier of the term in the agreement proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Additional configuration for the requested terms. This configuration is applicable only to the terms that accept a customer-provided configuration, such as
ConfigurableUpfrontPricingTerm.- Parameters:
configuration- Additional configuration for the requested terms. This configuration is applicable only to the terms that accept a customer-provided configuration, such asConfigurableUpfrontPricingTerm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default RequestedTerm.Builder configuration(Consumer<RequestedTermConfiguration.Builder> configuration) Additional configuration for the requested terms. This configuration is applicable only to the terms that accept a customer-provided configuration, such as
This is a convenience method that creates an instance of theConfigurableUpfrontPricingTerm.RequestedTermConfiguration.Builderavoiding the need to create one manually viaRequestedTermConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RequestedTermConfiguration).- Parameters:
configuration- a consumer that will call methods onRequestedTermConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-