Interface SoftwareRevenue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SoftwareRevenue.Builder,SoftwareRevenue>,SdkBuilder<SoftwareRevenue.Builder,SoftwareRevenue>,SdkPojo
- Enclosing class:
- SoftwareRevenue
public static interface SoftwareRevenue.Builder extends SdkPojo, CopyableBuilder<SoftwareRevenue.Builder,SoftwareRevenue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SoftwareRevenue.BuilderdeliveryModel(String deliveryModel)Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in theOpportunity.SoftwareRevenue.BuilderdeliveryModel(RevenueModel deliveryModel)Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in theOpportunity.SoftwareRevenue.BuildereffectiveDate(String effectiveDate)Specifies theOpportunity's customer engagement start date for the contract's effectiveness.SoftwareRevenue.BuilderexpirationDate(String expirationDate)Specifies the expiration date for the contract between the customer and Amazon Web Services partner.default SoftwareRevenue.Buildervalue(Consumer<MonetaryValue.Builder> value)Specifies the payment value (amount and currency).SoftwareRevenue.Buildervalue(MonetaryValue value)Specifies the payment value (amount and currency).-
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 Detail
-
deliveryModel
SoftwareRevenue.Builder deliveryModel(String deliveryModel)
Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in the
Opportunity.- Parameters:
deliveryModel- Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevenueModel,RevenueModel
-
deliveryModel
SoftwareRevenue.Builder deliveryModel(RevenueModel deliveryModel)
Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in the
Opportunity.- Parameters:
deliveryModel- Specifies the customer's intended payment type agreement or procurement method to acquire the solution or service outlined in theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevenueModel,RevenueModel
-
effectiveDate
SoftwareRevenue.Builder effectiveDate(String effectiveDate)
Specifies the
Opportunity's customer engagement start date for the contract's effectiveness.- Parameters:
effectiveDate- Specifies theOpportunity's customer engagement start date for the contract's effectiveness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDate
SoftwareRevenue.Builder expirationDate(String expirationDate)
Specifies the expiration date for the contract between the customer and Amazon Web Services partner. It signifies the termination date of the agreed-upon engagement period between both parties.
- Parameters:
expirationDate- Specifies the expiration date for the contract between the customer and Amazon Web Services partner. It signifies the termination date of the agreed-upon engagement period between both parties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
SoftwareRevenue.Builder value(MonetaryValue value)
Specifies the payment value (amount and currency).
- Parameters:
value- Specifies the payment value (amount and currency).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default SoftwareRevenue.Builder value(Consumer<MonetaryValue.Builder> value)
Specifies the payment value (amount and currency).
This is a convenience method that creates an instance of theMonetaryValue.Builderavoiding the need to create one manually viaMonetaryValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MonetaryValue).- Parameters:
value- a consumer that will call methods onMonetaryValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(MonetaryValue)
-
-