Interface MetricPoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MetricPoint.Builder,MetricPoint>, SdkBuilder<MetricPoint.Builder,MetricPoint>, SdkPojo
Enclosing class:
MetricPoint

public static interface MetricPoint.Builder extends SdkPojo, CopyableBuilder<MetricPoint.Builder,MetricPoint>
  • Method Details

    • startDate

      MetricPoint.Builder startDate(Instant startDate)

      The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

      Parameters:
      startDate - The start date for the metric point. The starting date for the metric point. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      MetricPoint.Builder endDate(Instant endDate)

      The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

      Parameters:
      endDate - The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      MetricPoint.Builder value(Float 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.
    • status

      MetricPoint.Builder status(String status)

      The status of the metric point.

      Parameters:
      status - The status of the metric point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.