Interface ConversationLogsResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConversationLogsResponse.Builder,
,ConversationLogsResponse> SdkBuilder<ConversationLogsResponse.Builder,
,ConversationLogsResponse> SdkPojo
- Enclosing class:
ConversationLogsResponse
public static interface ConversationLogsResponse.Builder
extends SdkPojo, CopyableBuilder<ConversationLogsResponse.Builder,ConversationLogsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioniamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.logSettings
(Collection<LogSettingsResponse> logSettings) The settings for your conversation logs.logSettings
(Consumer<LogSettingsResponse.Builder>... logSettings) The settings for your conversation logs.logSettings
(LogSettingsResponse... logSettings) The settings for your conversation logs.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 Details
-
logSettings
The settings for your conversation logs. You can log text, audio, or both.
- Parameters:
logSettings
- The settings for your conversation logs. You can log text, audio, or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSettings
The settings for your conversation logs. You can log text, audio, or both.
- Parameters:
logSettings
- The settings for your conversation logs. You can log text, audio, or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSettings
The settings for your conversation logs. You can log text, audio, or both.
This is a convenience method that creates an instance of theLogSettingsResponse.Builder
avoiding the need to create one manually viaLogSettingsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologSettings(List<LogSettingsResponse>)
.- Parameters:
logSettings
- a consumer that will call methods onLogSettingsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-