@Generated(value="software.amazon.awssdk:codegen") public final class LogSettingsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogSettingsRequest.Builder,LogSettingsRequest>
Settings used to configure delivery mode and destination for conversation logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogSettingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogSettingsRequest.Builder |
builder() |
Destination |
destination()
Where the logs will be delivered.
|
String |
destinationAsString()
Where the logs will be delivered.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3
bucket.
|
LogType |
logType()
The type of logging to enable.
|
String |
logTypeAsString()
The type of logging to enable.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogSettingsRequest.Builder> |
serializableBuilderClass() |
LogSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic LogType logType()
The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
If the service returns an enum value that is not available in the current SDK version, logType will
return LogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logTypeAsString().
LogTypepublic String logTypeAsString()
The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
If the service returns an enum value that is not available in the current SDK version, logType will
return LogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logTypeAsString().
LogTypepublic Destination destination()
Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
If the service returns an enum value that is not available in the current SDK version, destination will
return Destination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
Destinationpublic String destinationAsString()
Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
If the service returns an enum value that is not available in the current SDK version, destination will
return Destination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
Destinationpublic String kmsKeyArn()
The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3 bucket. The key does not apply to CloudWatch Logs and is optional for S3 buckets.
public String resourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
public LogSettingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogSettingsRequest.Builder,LogSettingsRequest>public static LogSettingsRequest.Builder builder()
public static Class<? extends LogSettingsRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.