public static final class LogRetentionProps.Builder extends Object
LogRetentionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LogRetentionProps |
build()
Builds the configured instance.
|
LogRetentionProps.Builder |
withLogGroupName(String value)
Sets the value of LogGroupName
|
LogRetentionProps.Builder |
withRetentionDays(software.amazon.awscdk.services.logs.RetentionDays value)
Sets the value of RetentionDays
|
public LogRetentionProps.Builder withLogGroupName(String value)
value - The log group name.thispublic LogRetentionProps.Builder withRetentionDays(software.amazon.awscdk.services.logs.RetentionDays value)
value - The number of days log events are kept in CloudWatch Logs.thispublic LogRetentionProps build()
LogRetentionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.