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.Builder
legalTerm
(Consumer<LegalTerm.Builder> legalTerm) Describes the legal terms.Describes the legal terms.default TermDetails.Builder
supportTerm
(Consumer<SupportTerm.Builder> supportTerm) Describes the support terms.supportTerm
(SupportTerm supportTerm) Describes the support terms.default TermDetails.Builder
usageBasedPricingTerm
(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.Builder
validityTerm
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaPricingTerm.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaLegalTerm.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaSupportTerm.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaValidityTerm.builder()
.When the
Consumer
completes,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:
-