Class CfnDomainPropsMixin.LogPublishingOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticsearch.CfnDomainPropsMixin.LogPublishingOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.LogPublishingOptionProperty>
- Enclosing interface:
CfnDomainPropsMixin.LogPublishingOptionProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.LogPublishingOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.LogPublishingOptionProperty>
A builder for
CfnDomainPropsMixin.LogPublishingOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) Sets the value ofCfnDomainPropsMixin.LogPublishingOptionProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.LogPublishingOptionProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsLogGroupArn
@Stability(Stable) public CfnDomainPropsMixin.LogPublishingOptionProperty.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) - Parameters:
cloudWatchLogsLogGroupArn- Specifies the CloudWatch log group to publish to. Required if you enable log publishing for the domain.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.LogPublishingOptionProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomainPropsMixin.LogPublishingOptionProperty.getEnabled()- Parameters:
enabled- Iftrue, enables the publishing of logs to CloudWatch. Default:false.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.LogPublishingOptionProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.LogPublishingOptionProperty.getEnabled()- Parameters:
enabled- Iftrue, enables the publishing of logs to CloudWatch. Default:false.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.LogPublishingOptionProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.LogPublishingOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-