@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The logging configuration associated with an Amazon Chime Voice Connector. Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
Constructor and Description |
---|
LoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
LoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableMediaMetricLogs()
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
|
Boolean |
getEnableSIPLogs()
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
int |
hashCode() |
Boolean |
isEnableMediaMetricLogs()
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
|
Boolean |
isEnableSIPLogs()
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnableMediaMetricLogs(Boolean enableMediaMetricLogs)
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
|
void |
setEnableSIPLogs(Boolean enableSIPLogs)
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withEnableMediaMetricLogs(Boolean enableMediaMetricLogs)
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
|
LoggingConfiguration |
withEnableSIPLogs(Boolean enableSIPLogs)
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
public void setEnableSIPLogs(Boolean enableSIPLogs)
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
enableSIPLogs
- When true, enables SIP message logs for sending to Amazon CloudWatch Logs.public Boolean getEnableSIPLogs()
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
public LoggingConfiguration withEnableSIPLogs(Boolean enableSIPLogs)
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
enableSIPLogs
- When true, enables SIP message logs for sending to Amazon CloudWatch Logs.public Boolean isEnableSIPLogs()
When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
public void setEnableMediaMetricLogs(Boolean enableMediaMetricLogs)
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
enableMediaMetricLogs
- Boolean that enables the logging of Voice Connector metrics to Cloudwatch.public Boolean getEnableMediaMetricLogs()
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
public LoggingConfiguration withEnableMediaMetricLogs(Boolean enableMediaMetricLogs)
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
enableMediaMetricLogs
- Boolean that enables the logging of Voice Connector metrics to Cloudwatch.public Boolean isEnableMediaMetricLogs()
Boolean that enables the logging of Voice Connector metrics to Cloudwatch.
public String toString()
toString
in class Object
Object.toString()
public LoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.