Interface TrainingPlanExtension.Builder

  • Method Details

    • trainingPlanExtensionOfferingId

      TrainingPlanExtension.Builder trainingPlanExtensionOfferingId(String trainingPlanExtensionOfferingId)

      The unique identifier of the extension offering that was used to create this extension.

      Parameters:
      trainingPlanExtensionOfferingId - The unique identifier of the extension offering that was used to create this extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • extendedAt

      TrainingPlanExtension.Builder extendedAt(Instant extendedAt)

      The timestamp when the extension was created.

      Parameters:
      extendedAt - The timestamp when the extension was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      TrainingPlanExtension.Builder startDate(Instant startDate)

      The start date of the extension period.

      Parameters:
      startDate - The start date of the extension period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      The end date of the extension period.

      Parameters:
      endDate - The end date of the extension period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the extension (e.g., Pending, Active, Scheduled, Failed, Expired).

      Parameters:
      status - The current status of the extension (e.g., Pending, Active, Scheduled, Failed, Expired).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentStatus

      TrainingPlanExtension.Builder paymentStatus(String paymentStatus)

      The payment processing status of the extension.

      Parameters:
      paymentStatus - The payment processing status of the extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      TrainingPlanExtension.Builder availabilityZone(String availabilityZone)

      The Availability Zone of the extension.

      Parameters:
      availabilityZone - The Availability Zone of the extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      TrainingPlanExtension.Builder availabilityZoneId(String availabilityZoneId)

      The Availability Zone ID of the extension.

      Parameters:
      availabilityZoneId - The Availability Zone ID of the extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationHours

      TrainingPlanExtension.Builder durationHours(Integer durationHours)

      The duration of the extension in hours.

      Parameters:
      durationHours - The duration of the extension in hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontFee

      TrainingPlanExtension.Builder upfrontFee(String upfrontFee)

      The upfront fee for the extension.

      Parameters:
      upfrontFee - The upfront fee for the extension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      TrainingPlanExtension.Builder currencyCode(String currencyCode)

      The currency code for the upfront fee (e.g., USD).

      Parameters:
      currencyCode - The currency code for the upfront fee (e.g., USD).
      Returns:
      Returns a reference to this object so that method calls can be chained together.