Interface TextLogSetting.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextLogSetting.Builder,
,TextLogSetting> SdkBuilder<TextLogSetting.Builder,
,TextLogSetting> SdkPojo
- Enclosing class:
TextLogSetting
@Mutable
@NotThreadSafe
public static interface TextLogSetting.Builder
extends SdkPojo, CopyableBuilder<TextLogSetting.Builder,TextLogSetting>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextLogSetting.Builder
destination
(Consumer<TextLogDestination.Builder> destination) Sets the value of the Destination property for this object.destination
(TextLogDestination destination) Sets the value of the Destination property for this object.Determines whether conversation logs should be stored for an alias.selectiveLoggingEnabled
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
Sets the value of the Destination property for this object. This is a convenience method that creates an instance of theTextLogDestination.Builder
avoiding the need to create one manually viaTextLogDestination.builder()
.When the
Consumer
completes,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:
-
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.
-