@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAmazonMqBrokerLogsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about logs to be activated for the specified broker.
Constructor and Description |
---|
AwsAmazonMqBrokerLogsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAmazonMqBrokerLogsDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAudit()
Activates audit logging.
|
String |
getAuditLogGroup()
The location of the CloudWatch Logs log group where audit logs are sent.
|
Boolean |
getGeneral()
Activates general logging.
|
String |
getGeneralLogGroup()
The location of the CloudWatch Logs log group where general logs are sent.
|
AwsAmazonMqBrokerLogsPendingDetails |
getPending()
The list of information about logs that are to be turned on for the specified broker.
|
int |
hashCode() |
Boolean |
isAudit()
Activates audit logging.
|
Boolean |
isGeneral()
Activates general logging.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudit(Boolean audit)
Activates audit logging.
|
void |
setAuditLogGroup(String auditLogGroup)
The location of the CloudWatch Logs log group where audit logs are sent.
|
void |
setGeneral(Boolean general)
Activates general logging.
|
void |
setGeneralLogGroup(String generalLogGroup)
The location of the CloudWatch Logs log group where general logs are sent.
|
void |
setPending(AwsAmazonMqBrokerLogsPendingDetails pending)
The list of information about logs that are to be turned on for the specified broker.
|
String |
toString()
Returns a string representation of this object.
|
AwsAmazonMqBrokerLogsDetails |
withAudit(Boolean audit)
Activates audit logging.
|
AwsAmazonMqBrokerLogsDetails |
withAuditLogGroup(String auditLogGroup)
The location of the CloudWatch Logs log group where audit logs are sent.
|
AwsAmazonMqBrokerLogsDetails |
withGeneral(Boolean general)
Activates general logging.
|
AwsAmazonMqBrokerLogsDetails |
withGeneralLogGroup(String generalLogGroup)
The location of the CloudWatch Logs log group where general logs are sent.
|
AwsAmazonMqBrokerLogsDetails |
withPending(AwsAmazonMqBrokerLogsPendingDetails pending)
The list of information about logs that are to be turned on for the specified broker.
|
public void setAudit(Boolean audit)
Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers.
audit
- Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is
logged. Doesn't apply to RabbitMQ brokers.public Boolean getAudit()
Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers.
public AwsAmazonMqBrokerLogsDetails withAudit(Boolean audit)
Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers.
audit
- Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is
logged. Doesn't apply to RabbitMQ brokers.public Boolean isAudit()
Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers.
public void setGeneral(Boolean general)
Activates general logging.
general
- Activates general logging.public Boolean getGeneral()
Activates general logging.
public AwsAmazonMqBrokerLogsDetails withGeneral(Boolean general)
Activates general logging.
general
- Activates general logging.public Boolean isGeneral()
Activates general logging.
public void setAuditLogGroup(String auditLogGroup)
The location of the CloudWatch Logs log group where audit logs are sent.
auditLogGroup
- The location of the CloudWatch Logs log group where audit logs are sent.public String getAuditLogGroup()
The location of the CloudWatch Logs log group where audit logs are sent.
public AwsAmazonMqBrokerLogsDetails withAuditLogGroup(String auditLogGroup)
The location of the CloudWatch Logs log group where audit logs are sent.
auditLogGroup
- The location of the CloudWatch Logs log group where audit logs are sent.public void setGeneralLogGroup(String generalLogGroup)
The location of the CloudWatch Logs log group where general logs are sent.
generalLogGroup
- The location of the CloudWatch Logs log group where general logs are sent.public String getGeneralLogGroup()
The location of the CloudWatch Logs log group where general logs are sent.
public AwsAmazonMqBrokerLogsDetails withGeneralLogGroup(String generalLogGroup)
The location of the CloudWatch Logs log group where general logs are sent.
generalLogGroup
- The location of the CloudWatch Logs log group where general logs are sent.public void setPending(AwsAmazonMqBrokerLogsPendingDetails pending)
The list of information about logs that are to be turned on for the specified broker.
pending
- The list of information about logs that are to be turned on for the specified broker.public AwsAmazonMqBrokerLogsPendingDetails getPending()
The list of information about logs that are to be turned on for the specified broker.
public AwsAmazonMqBrokerLogsDetails withPending(AwsAmazonMqBrokerLogsPendingDetails pending)
The list of information about logs that are to be turned on for the specified broker.
pending
- The list of information about logs that are to be turned on for the specified broker.public String toString()
toString
in class Object
Object.toString()
public AwsAmazonMqBrokerLogsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.