Interface OverrideHour.Builder

  • Method Details

    • start

      Sets the value of the Start property for this object.
      Parameters:
      start - The new value for the Start property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • start

      Sets the value of the Start property for this object. This is a convenience method that creates an instance of the OverrideTimeSlice.Builder avoiding the need to create one manually via OverrideTimeSlice.builder().

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

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

      Sets the value of the End property for this object.
      Parameters:
      end - The new value for the End property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • end

      Sets the value of the End property for this object. This is a convenience method that creates an instance of the OverrideTimeSlice.Builder avoiding the need to create one manually via OverrideTimeSlice.builder().

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

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

      OverrideHour.Builder overrideName(String overrideName)

      Unique identifier name for the override.

      Parameters:
      overrideName - Unique identifier name for the override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationalStatus

      OverrideHour.Builder operationalStatus(String operationalStatus)

      Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.

      Parameters:
      operationalStatus - Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operationalStatus

      OverrideHour.Builder operationalStatus(OperationalStatus operationalStatus)

      Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.

      Parameters:
      operationalStatus - Indicates whether the status is open or closed during the override period. This status determines how the override modifies the base hours of operation schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: