Class CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty>
- Enclosing interface:
CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty
@Stability(Stable)
public static final class CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty>
A builder for
CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.getLogGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
@Stability(Stable) public CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.Builder logGroup(String logGroup) Sets the value ofCfnCacheCluster.CloudWatchLogsDestinationDetailsProperty.getLogGroup()
- Parameters:
logGroup
- The name of the CloudWatch Logs log group. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty>
- Returns:
- a new instance of
CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-