@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogSettingsRequest extends Object implements Serializable, Cloneable, StructuredPojo
Settings used to configure delivery mode and destination for conversation logs.
Constructor and Description |
---|
LogSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
LogSettingsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
Where the logs will be delivered.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3
bucket.
|
String |
getLogType()
The type of logging to enable.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(String destination)
Where the logs will be delivered.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3
bucket.
|
void |
setLogType(String logType)
The type of logging to enable.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
|
String |
toString()
Returns a string representation of this object.
|
LogSettingsRequest |
withDestination(Destination destination)
Where the logs will be delivered.
|
LogSettingsRequest |
withDestination(String destination)
Where the logs will be delivered.
|
LogSettingsRequest |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3
bucket.
|
LogSettingsRequest |
withLogType(LogType logType)
The type of logging to enable.
|
LogSettingsRequest |
withLogType(String logType)
The type of logging to enable.
|
LogSettingsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
|
public void setLogType(String 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.
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.LogType
public String getLogType()
The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
LogType
public LogSettingsRequest withLogType(String 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.
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.LogType
public LogSettingsRequest withLogType(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.
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.LogType
public void setDestination(String 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.
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.Destination
public String getDestination()
Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
Destination
public LogSettingsRequest withDestination(String 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.
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.Destination
public LogSettingsRequest withDestination(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.
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.Destination
public void setKmsKeyArn(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.
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 getKmsKeyArn()
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 LogSettingsRequest withKmsKeyArn(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.
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 void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
resourceArn
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be
delivered.public String getResourceArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
public LogSettingsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.
resourceArn
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be
delivered.public String toString()
toString
in class Object
Object.toString()
public LogSettingsRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.