Interface TextLogSetting.Builder

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

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

    • enabled

      TextLogSetting.Builder enabled(Boolean enabled)

      Determines whether conversation logs should be stored for an alias.

      Parameters:
      enabled - Determines whether conversation logs should be stored for an alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      TextLogSetting.Builder destination(TextLogDestination destination)
      Sets the value of the Destination property for this object.
      Parameters:
      destination - The new value for the Destination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      default TextLogSetting.Builder destination(Consumer<TextLogDestination.Builder> destination)
      Sets the value of the Destination property for this object. This is a convenience method that creates an instance of the TextLogDestination.Builder avoiding the need to create one manually via TextLogDestination.builder().

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

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

      TextLogSetting.Builder selectiveLoggingEnabled(Boolean selectiveLoggingEnabled)

      The option to enable selective conversation log capture for text.

      Parameters:
      selectiveLoggingEnabled - The option to enable selective conversation log capture for text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.