Interface HoursOfOperationOverride.Builder

  • Method Details

    • hoursOfOperationOverrideId

      HoursOfOperationOverride.Builder hoursOfOperationOverrideId(String hoursOfOperationOverrideId)

      The identifier for the hours of operation override.

      Parameters:
      hoursOfOperationOverrideId - The identifier for the hours of operation override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hoursOfOperationId

      HoursOfOperationOverride.Builder hoursOfOperationId(String hoursOfOperationId)

      The identifier for the hours of operation.

      Parameters:
      hoursOfOperationId - The identifier for the hours of operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hoursOfOperationArn

      HoursOfOperationOverride.Builder hoursOfOperationArn(String hoursOfOperationArn)

      The Amazon Resource Name (ARN) for the hours of operation.

      Parameters:
      hoursOfOperationArn - The Amazon Resource Name (ARN) for the hours of operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the hours of operation override.

      Parameters:
      name - The name of the hours of operation override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      HoursOfOperationOverride.Builder description(String description)

      The description of the hours of operation override.

      Parameters:
      description - The description of the hours of operation override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      Configuration information for the hours of operation override: day, start time, and end time.

      Parameters:
      config - Configuration information for the hours of operation override: day, start time, and end time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      Configuration information for the hours of operation override: day, start time, and end time.

      Parameters:
      config - Configuration information for the hours of operation override: day, start time, and end time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • config

      Configuration information for the hours of operation override: day, start time, and end time.

      This is a convenience method that creates an instance of the HoursOfOperationOverrideConfig.Builder avoiding the need to create one manually via HoursOfOperationOverrideConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to config(List<HoursOfOperationOverrideConfig>).

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

      HoursOfOperationOverride.Builder effectiveFrom(String effectiveFrom)

      The date from which the hours of operation override would be effective.

      Parameters:
      effectiveFrom - The date from which the hours of operation override would be effective.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • effectiveTill

      HoursOfOperationOverride.Builder effectiveTill(String effectiveTill)

      The date till which the hours of operation override would be effective.

      Parameters:
      effectiveTill - The date till which the hours of operation override would be effective.
      Returns:
      Returns a reference to this object so that method calls can be chained together.