Class CfnBroker.LogListProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amazonmq.CfnBroker.LogListProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBroker.LogListProperty>
- Enclosing interface:
CfnBroker.LogListProperty
@Stability(Stable)
public static final class CfnBroker.LogListProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBroker.LogListProperty>
A builder for
CfnBroker.LogListProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBroker.LogListProperty.getAudit()
audit
(IResolvable audit) Sets the value ofCfnBroker.LogListProperty.getAudit()
build()
Builds the configured instance.Sets the value ofCfnBroker.LogListProperty.getGeneral()
general
(IResolvable general) Sets the value ofCfnBroker.LogListProperty.getGeneral()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audit
Sets the value ofCfnBroker.LogListProperty.getAudit()
- Parameters:
audit
- Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.- Returns:
this
-
audit
Sets the value ofCfnBroker.LogListProperty.getAudit()
- Parameters:
audit
- Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.- Returns:
this
-
general
Sets the value ofCfnBroker.LogListProperty.getGeneral()
- Parameters:
general
- Enables general logging.- Returns:
this
-
general
Sets the value ofCfnBroker.LogListProperty.getGeneral()
- Parameters:
general
- Enables general logging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBroker.LogListProperty>
- Returns:
- a new instance of
CfnBroker.LogListProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-