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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextLogSetting.Builderdestination(Consumer<TextLogDestination.Builder> destination)Sets the value of the Destination property for this object.TextLogSetting.Builderdestination(TextLogDestination destination)Sets the value of the Destination property for this object.TextLogSetting.Builderenabled(Boolean enabled)Determines whether conversation logs should be stored for an alias.TextLogSetting.BuilderselectiveLoggingEnabled(Boolean selectiveLoggingEnabled)The option to enable selective conversation log capture for text.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 theTextLogDestination.Builderavoiding the need to create one manually viaTextLogDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(TextLogDestination).- Parameters:
destination- a consumer that will call methods onTextLogDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(TextLogDestination)
-
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.
-
-