@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 is the first part of the S3 object key within the S3 bucket that you specified to contain
audio logs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 is the first part of the S3 object key within the S3 bucket that you specified to contain
audio logs.
|
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 is the first part of the S3 object key within the S3 bucket that you specified to contain
audio logs.
|
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 is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.
resourcePrefix - The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to
contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that
you specified.public String getResourcePrefix()
The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.
public LogSettingsResponse withResourcePrefix(String resourcePrefix)
The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.
resourcePrefix - The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to
contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that
you specified.public String toString()
toString in class ObjectObject.toString()public LogSettingsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.