Class CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LoggingDestinationProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.LoggingDestinationProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LoggingDestinationProperty>
A builder for
CfnWorkspacePropsMixin.LoggingDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getCloudWatchLogs()Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getCloudWatchLogs()filters(IResolvable filters) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getFilters()Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Configuration details for logging to CloudWatch Logs.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder cloudWatchLogs(CfnWorkspacePropsMixin.CloudWatchLogDestinationProperty cloudWatchLogs) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Configuration details for logging to CloudWatch Logs.- Returns:
this
-
filters
@Stability(Stable) public CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder filters(IResolvable filters) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getFilters()- Parameters:
filters- Filtering criteria that determine which queries are logged.- Returns:
this
-
filters
@Stability(Stable) public CfnWorkspacePropsMixin.LoggingDestinationProperty.Builder filters(CfnWorkspacePropsMixin.LoggingFilterProperty filters) Sets the value ofCfnWorkspacePropsMixin.LoggingDestinationProperty.getFilters()- Parameters:
filters- Filtering criteria that determine which queries are logged.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.LoggingDestinationProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.LoggingDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-