Interface ConversationLogsRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConversationLogsRequest.Builder,
,ConversationLogsRequest> SdkBuilder<ConversationLogsRequest.Builder,
,ConversationLogsRequest> SdkPojo
- Enclosing class:
ConversationLogsRequest
-
Method Summary
Modifier and TypeMethodDescriptioniamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs.logSettings
(Collection<LogSettingsRequest> logSettings) The settings for your conversation logs.logSettings
(Consumer<LogSettingsRequest.Builder>... logSettings) The settings for your conversation logs.logSettings
(LogSettingsRequest... 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, sdkFieldNameToField, sdkFields
-
Method Details
-
logSettings
The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
- Parameters:
logSettings
- The settings for your conversation logs. You can log the conversation text, conversation 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 the conversation text, conversation audio, or both.
- Parameters:
logSettings
- The settings for your conversation logs. You can log the conversation text, conversation 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 the conversation text, conversation audio, or both.
This is a convenience method that creates an instance of theLogSettingsRequest.Builder
avoiding the need to create one manually viaLogSettingsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologSettings(List<LogSettingsRequest>)
.- Parameters:
logSettings
- a consumer that will call methods onLogSettingsRequest.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 an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-