@Stability(value=Stable) public static final class CfnProject.CloudWatchLogsConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnProject.CloudWatchLogsConfigProperty>
CfnProject.CloudWatchLogsConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnProject.CloudWatchLogsConfigProperty |
build()
Builds the configured instance.
|
CfnProject.CloudWatchLogsConfigProperty.Builder |
groupName(String groupName)
Sets the value of
CfnProject.CloudWatchLogsConfigProperty.getGroupName() |
CfnProject.CloudWatchLogsConfigProperty.Builder |
status(String status)
Sets the value of
CfnProject.CloudWatchLogsConfigProperty.getStatus() |
CfnProject.CloudWatchLogsConfigProperty.Builder |
streamName(String streamName)
Sets the value of
CfnProject.CloudWatchLogsConfigProperty.getStreamName() |
@Stability(value=Stable) public CfnProject.CloudWatchLogsConfigProperty.Builder status(String status)
CfnProject.CloudWatchLogsConfigProperty.getStatus()status - The current status of the logs in CloudWatch Logs for a build project. Valid values are:. This parameter is required.
ENABLED : CloudWatch Logs are enabled for this build project.DISABLED : CloudWatch Logs are not enabled for this build project.this@Stability(value=Stable) public CfnProject.CloudWatchLogsConfigProperty.Builder groupName(String groupName)
CfnProject.CloudWatchLogsConfigProperty.getGroupName()groupName - The group name of the logs in CloudWatch Logs.
For more information, see Working with Log Groups and Log Streams .this@Stability(value=Stable) public CfnProject.CloudWatchLogsConfigProperty.Builder streamName(String streamName)
CfnProject.CloudWatchLogsConfigProperty.getStreamName()streamName - The prefix of the stream name of the CloudWatch Logs.
For more information, see Working with Log Groups and Log Streams .this@Stability(value=Stable) public CfnProject.CloudWatchLogsConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnProject.CloudWatchLogsConfigProperty>CfnProject.CloudWatchLogsConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.