@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogSettingsResponse extends Object implements Serializable, Cloneable, StructuredPojo
The settings for conversation logs.
| Constructor and Description |
|---|
LogSettingsResponse() |
| Modifier and Type | Method and Description |
|---|---|
LogSettingsResponse |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The destination where logs are delivered.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
|
String |
getLogType()
The type of logging that is enabled.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
|
String |
getResourcePrefix()
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDestination(String destination)
The destination where logs are delivered.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
|
void |
setLogType(String logType)
The type of logging that is enabled.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
|
void |
setResourcePrefix(String resourcePrefix)
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered.
|
String |
toString()
Returns a string representation of this object.
|
LogSettingsResponse |
withDestination(Destination destination)
The destination where logs are delivered.
|
LogSettingsResponse |
withDestination(String destination)
The destination where logs are delivered.
|
LogSettingsResponse |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
|
LogSettingsResponse |
withLogType(LogType logType)
The type of logging that is enabled.
|
LogSettingsResponse |
withLogType(String logType)
The type of logging that is enabled.
|
LogSettingsResponse |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
|
LogSettingsResponse |
withResourcePrefix(String resourcePrefix)
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered.
|
public void setLogType(String logType)
The type of logging that is enabled.
logType - The type of logging that is enabled.LogTypepublic String getLogType()
The type of logging that is enabled.
LogTypepublic LogSettingsResponse withLogType(String logType)
The type of logging that is enabled.
logType - The type of logging that is enabled.LogTypepublic LogSettingsResponse withLogType(LogType logType)
The type of logging that is enabled.
logType - The type of logging that is enabled.LogTypepublic void setDestination(String destination)
The destination where logs are delivered.
destination - The destination where logs are delivered.Destinationpublic String getDestination()
The destination where logs are delivered.
Destinationpublic LogSettingsResponse withDestination(String destination)
The destination where logs are delivered.
destination - The destination where logs are delivered.Destinationpublic LogSettingsResponse withDestination(Destination destination)
The destination where logs are delivered.
destination - The destination where logs are delivered.Destinationpublic void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
kmsKeyArn - The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
public LogSettingsResponse withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.
kmsKeyArn - The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
resourceArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.public String getResourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
public LogSettingsResponse withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
resourceArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.public void setResourcePrefix(String resourcePrefix)
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered. For both S3 and CloudWatch Logs, the prefix is:
aws/lex/bot-name/bot-alias/bot-version
resourcePrefix - The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered. For both S3
and CloudWatch Logs, the prefix is:
aws/lex/bot-name/bot-alias/bot-version
public String getResourcePrefix()
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered. For both S3 and CloudWatch Logs, the prefix is:
aws/lex/bot-name/bot-alias/bot-version
aws/lex/bot-name/bot-alias/bot-version
public LogSettingsResponse withResourcePrefix(String resourcePrefix)
The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered. For both S3 and CloudWatch Logs, the prefix is:
aws/lex/bot-name/bot-alias/bot-version
resourcePrefix - The resource prefix of the S3 object or CloudWatch Logs log entry where logs are delivered. For both S3
and CloudWatch Logs, the prefix is:
aws/lex/bot-name/bot-alias/bot-version
public String toString()
toString in class ObjectObject.toString()public LogSettingsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.