Interface AwsSoftwareRevenue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsSoftwareRevenue.Builder,,AwsSoftwareRevenue> SdkBuilder<AwsSoftwareRevenue.Builder,,AwsSoftwareRevenue> SdkPojo
- Enclosing class:
AwsSoftwareRevenue
@Mutable
@NotThreadSafe
public static interface AwsSoftwareRevenue.Builder
extends SdkPojo, CopyableBuilder<AwsSoftwareRevenue.Builder,AwsSoftwareRevenue>
-
Method Summary
Modifier and TypeMethodDescriptionDiscount percentage offered on the software revenue.effectiveDate(String effectiveDate) Contract effective (start) date in YYYY-MM-DD format.expirationDate(String expirationDate) Contract expiration (end) date in YYYY-MM-DD format.default AwsSoftwareRevenue.Buildervalue(Consumer<MonetaryValue.Builder> value) Sets the value of the Value property for this object.value(MonetaryValue value) Sets the value of the Value 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
-
value
Sets the value of the Value property for this object.- Parameters:
value- The new value for the Value property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Sets the value of the Value property for this object. 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:
-
discount
Discount percentage offered on the software revenue. Percent convention: 15.00 means 15%.
- Parameters:
discount- Discount percentage offered on the software revenue. Percent convention: 15.00 means 15%.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveDate
Contract effective (start) date in YYYY-MM-DD format.
- Parameters:
effectiveDate- Contract effective (start) date in YYYY-MM-DD format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationDate
Contract expiration (end) date in YYYY-MM-DD format.
- Parameters:
expirationDate- Contract expiration (end) date in YYYY-MM-DD format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-