public static final class CfnDomain.LogPublishingOptionProperty.Builder
extends java.lang.Object
CfnDomain.LogPublishingOptionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDomain.LogPublishingOptionProperty |
build()
Builds the configured instance.
|
CfnDomain.LogPublishingOptionProperty.Builder |
cloudWatchLogsLogGroupArn(java.lang.String cloudWatchLogsLogGroupArn)
Sets the value of
CfnDomain.LogPublishingOptionProperty.getCloudWatchLogsLogGroupArn() |
CfnDomain.LogPublishingOptionProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnDomain.LogPublishingOptionProperty.getEnabled() |
CfnDomain.LogPublishingOptionProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnDomain.LogPublishingOptionProperty.getEnabled() |
public CfnDomain.LogPublishingOptionProperty.Builder cloudWatchLogsLogGroupArn(java.lang.String cloudWatchLogsLogGroupArn)
CfnDomain.LogPublishingOptionProperty.getCloudWatchLogsLogGroupArn()
cloudWatchLogsLogGroupArn
- Specifies the CloudWatch log group to publish to.this
public CfnDomain.LogPublishingOptionProperty.Builder enabled(java.lang.Boolean enabled)
CfnDomain.LogPublishingOptionProperty.getEnabled()
enabled
- If `true` , enables the publishing of logs to CloudWatch.
Default: false
.this
public CfnDomain.LogPublishingOptionProperty.Builder enabled(IResolvable enabled)
CfnDomain.LogPublishingOptionProperty.getEnabled()
enabled
- If `true` , enables the publishing of logs to CloudWatch.
Default: false
.this
public CfnDomain.LogPublishingOptionProperty build()
CfnDomain.LogPublishingOptionProperty
java.lang.NullPointerException
- if any required attribute was not provided