/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lexmodelsv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configures conversation logging that saves audio, text, and metadata for the conversations with your users. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConversationLogSettings implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon CloudWatch Logs settings for logging text and metadata. *
*/ private java.util.List* The Amazon S3 settings for logging audio to an S3 bucket. *
*/ private java.util.List* The Amazon CloudWatch Logs settings for logging text and metadata. *
* * @return The Amazon CloudWatch Logs settings for logging text and metadata. */ public java.util.List* The Amazon CloudWatch Logs settings for logging text and metadata. *
* * @param textLogSettings * The Amazon CloudWatch Logs settings for logging text and metadata. */ public void setTextLogSettings(java.util.Collection* The Amazon CloudWatch Logs settings for logging text and metadata. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTextLogSettings(java.util.Collection)} or {@link #withTextLogSettings(java.util.Collection)} if you * want to override the existing values. *
* * @param textLogSettings * The Amazon CloudWatch Logs settings for logging text and metadata. * @return Returns a reference to this object so that method calls can be chained together. */ public ConversationLogSettings withTextLogSettings(TextLogSetting... textLogSettings) { if (this.textLogSettings == null) { setTextLogSettings(new java.util.ArrayList* The Amazon CloudWatch Logs settings for logging text and metadata. *
* * @param textLogSettings * The Amazon CloudWatch Logs settings for logging text and metadata. * @return Returns a reference to this object so that method calls can be chained together. */ public ConversationLogSettings withTextLogSettings(java.util.Collection* The Amazon S3 settings for logging audio to an S3 bucket. *
* * @return The Amazon S3 settings for logging audio to an S3 bucket. */ public java.util.List* The Amazon S3 settings for logging audio to an S3 bucket. *
* * @param audioLogSettings * The Amazon S3 settings for logging audio to an S3 bucket. */ public void setAudioLogSettings(java.util.Collection* The Amazon S3 settings for logging audio to an S3 bucket. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAudioLogSettings(java.util.Collection)} or {@link #withAudioLogSettings(java.util.Collection)} if you * want to override the existing values. *
* * @param audioLogSettings * The Amazon S3 settings for logging audio to an S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public ConversationLogSettings withAudioLogSettings(AudioLogSetting... audioLogSettings) { if (this.audioLogSettings == null) { setAudioLogSettings(new java.util.ArrayList* The Amazon S3 settings for logging audio to an S3 bucket. *
* * @param audioLogSettings * The Amazon S3 settings for logging audio to an S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public ConversationLogSettings withAudioLogSettings(java.util.Collection