Interface TermDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TermDetails.Builder,,TermDetails> SdkBuilder<TermDetails.Builder,,TermDetails> SdkPojo
- Enclosing class:
TermDetails
@Mutable
@NotThreadSafe
public static interface TermDetails.Builder
extends SdkPojo, CopyableBuilder<TermDetails.Builder,TermDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TermDetails.BuilderlegalTerm(Consumer<LegalTerm.Builder> legalTerm) Describes the legal terms.Describes the legal terms.default TermDetails.BuildersupportTerm(Consumer<SupportTerm.Builder> supportTerm) Describes the support terms.supportTerm(SupportTerm supportTerm) Describes the support terms.default TermDetails.BuilderusageBasedPricingTerm(Consumer<PricingTerm.Builder> usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object.usageBasedPricingTerm(PricingTerm usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object.default TermDetails.BuildervalidityTerm(Consumer<ValidityTerm.Builder> validityTerm) Describes the validity terms.validityTerm(ValidityTerm validityTerm) Describes the validity terms.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
-
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 TermDetails.Builder usageBasedPricingTerm(Consumer<PricingTerm.Builder> usageBasedPricingTerm) Sets the value of the UsageBasedPricingTerm property for this object. This is a convenience method that creates an instance of thePricingTerm.Builderavoiding the need to create one manually viaPricingTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousageBasedPricingTerm(PricingTerm).- Parameters:
usageBasedPricingTerm- a consumer that will call methods onPricingTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legalTerm
Describes the legal terms.
- Parameters:
legalTerm- Describes the legal terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalTerm
Describes the legal terms.
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:
-
supportTerm
Describes the support terms.
- Parameters:
supportTerm- Describes the support terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportTerm
Describes the support terms.
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:
-
validityTerm
Describes the validity terms.
- Parameters:
validityTerm- Describes the validity terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validityTerm
Describes the validity terms.
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:
-