Interface ConversationLogsRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConversationLogsRequest.Builder,ConversationLogsRequest>,SdkBuilder<ConversationLogsRequest.Builder,ConversationLogsRequest>,SdkPojo
- Enclosing class:
- ConversationLogsRequest
public static interface ConversationLogsRequest.Builder extends SdkPojo, CopyableBuilder<ConversationLogsRequest.Builder,ConversationLogsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationLogsRequest.BuilderiamRoleArn(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.BuilderlogSettings(Collection<LogSettingsRequest> logSettings)The settings for your conversation logs.ConversationLogsRequest.BuilderlogSettings(Consumer<LogSettingsRequest.Builder>... logSettings)The settings for your conversation logs.ConversationLogsRequest.BuilderlogSettings(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 Detail
-
logSettings
ConversationLogsRequest.Builder logSettings(Collection<LogSettingsRequest> 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
ConversationLogsRequest.Builder logSettings(LogSettingsRequest... 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
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 method that creates an instance of theLogSettingsRequest.Builderavoiding the need to create one manually viaLogSettingsRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#logSettings(List.) - 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:
#logSettings(java.util.Collection)
-
iamRoleArn
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.
- 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.
-
-