Class CfnSessionLogger.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLogger.LogConfigurationProperty>
- Enclosing interface:
CfnSessionLogger.LogConfigurationProperty
@Stability(Stable)
public static final class CfnSessionLogger.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLogger.LogConfigurationProperty>
A builder for
CfnSessionLogger.LogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3(IResolvable s3) Sets the value ofCfnSessionLogger.LogConfigurationProperty.getS3()Sets the value ofCfnSessionLogger.LogConfigurationProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3
Sets the value ofCfnSessionLogger.LogConfigurationProperty.getS3()- Parameters:
s3- The configuration for delivering the logs to S3.- Returns:
this
-
s3
@Stability(Stable) public CfnSessionLogger.LogConfigurationProperty.Builder s3(CfnSessionLogger.S3LogConfigurationProperty s3) Sets the value ofCfnSessionLogger.LogConfigurationProperty.getS3()- Parameters:
s3- The configuration for delivering the logs to S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionLogger.LogConfigurationProperty>- Returns:
- a new instance of
CfnSessionLogger.LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-