Interface SlaConfiguration.Builder

  • Method Details

    • completionTime

      SlaConfiguration.Builder completionTime(Instant completionTime)

      Time at which an SLA was completed.

      Parameters:
      completionTime - Time at which an SLA was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldId

      SlaConfiguration.Builder fieldId(String fieldId)

      Unique identifier of a field.

      Parameters:
      fieldId - Unique identifier of a field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Name of an SLA.

      Parameters:
      name - Name of an SLA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status of an SLA.

      Parameters:
      status - Status of an SLA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of an SLA.

      Parameters:
      status - Status of an SLA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetFieldValues

      SlaConfiguration.Builder targetFieldValues(Collection<FieldValueUnion> targetFieldValues)

      Represents a list of target field values for the fieldId specified in SlaConfiguration.

      Parameters:
      targetFieldValues - Represents a list of target field values for the fieldId specified in SlaConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetFieldValues

      SlaConfiguration.Builder targetFieldValues(FieldValueUnion... targetFieldValues)

      Represents a list of target field values for the fieldId specified in SlaConfiguration.

      Parameters:
      targetFieldValues - Represents a list of target field values for the fieldId specified in SlaConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetFieldValues

      SlaConfiguration.Builder targetFieldValues(Consumer<FieldValueUnion.Builder>... targetFieldValues)

      Represents a list of target field values for the fieldId specified in SlaConfiguration.

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

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

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

      SlaConfiguration.Builder targetTime(Instant targetTime)

      Target time by which an SLA should be completed.

      Parameters:
      targetTime - Target time by which an SLA should be completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Type of SLA.

      Parameters:
      type - Type of SLA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of SLA.

      Parameters:
      type - Type of SLA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: