Interface AwsSoftwareRevenue.Builder

  • 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 the MonetaryValue.Builder avoiding the need to create one manually via MonetaryValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to value(MonetaryValue).

      Parameters:
      value - a consumer that will call methods on MonetaryValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • discount

      AwsSoftwareRevenue.Builder discount(String 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

      AwsSoftwareRevenue.Builder effectiveDate(String 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

      AwsSoftwareRevenue.Builder expirationDate(String 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.