Class LogSettingsRequest
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.model.LogSettingsRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogSettingsRequest.Builder,LogSettingsRequest>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogSettingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogSettingsRequest.Builderbuilder()Destinationdestination()Where the logs will be delivered.StringdestinationAsString()Where the logs will be delivered.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3 bucket.LogTypelogType()The type of logging to enable.StringlogTypeAsString()The type of logging to enable.StringresourceArn()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logType
public final 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,
logTypewill returnLogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogTypeAsString().- Returns:
- The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
- See Also:
LogType
-
logTypeAsString
public final 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,
logTypewill returnLogType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogTypeAsString().- Returns:
- The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
- See Also:
LogType
-
destination
public final 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,
destinationwill returnDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
- See Also:
Destination
-
destinationAsString
public final 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,
destinationwill returnDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
- See Also:
Destination
-
kmsKeyArn
public final 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.
- Returns:
- 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.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
- Returns:
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
-
toBuilder
public LogSettingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogSettingsRequest.Builder,LogSettingsRequest>
-
builder
public static LogSettingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogSettingsRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-