public static interface ConversationLogsRequest.Builder extends SdkPojo, CopyableBuilder<ConversationLogsRequest.Builder,ConversationLogsRequest>
Modifier and Type | Method and Description |
---|---|
ConversationLogsRequest.Builder |
iamRoleArn(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.
|
ConversationLogsRequest.Builder |
logSettings(Collection<LogSettingsRequest> logSettings)
The settings for your conversation logs.
|
ConversationLogsRequest.Builder |
logSettings(Consumer<LogSettingsRequest.Builder>... logSettings)
The settings for your conversation logs.
|
ConversationLogsRequest.Builder |
logSettings(LogSettingsRequest... logSettings)
The settings for your conversation logs.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ConversationLogsRequest.Builder logSettings(Collection<LogSettingsRequest> logSettings)
The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
logSettings
- The settings for your conversation logs. You can log the conversation text, conversation audio, or
both.ConversationLogsRequest.Builder logSettings(LogSettingsRequest... logSettings)
The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
logSettings
- The settings for your conversation logs. You can log the conversation text, conversation audio, or
both.ConversationLogsRequest.Builder logSettings(Consumer<LogSettingsRequest.Builder>... logSettings)
The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #logSettings(List)
.logSettings
- a consumer that will call methods on List.Builder
#logSettings(List)
ConversationLogsRequest.Builder iamRoleArn(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. 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.
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.