Class CfnFileSystem.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnFileSystem.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystem.LogConfigurationProperty>
- Enclosing interface:
CfnFileSystem.LogConfigurationProperty
@Stability(Stable)
public static final class CfnFileSystem.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystem.LogConfigurationProperty>
A builder for
CfnFileSystem.LogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(String destination) Sets the value ofCfnFileSystem.LogConfigurationProperty.getDestination()Sets the value ofCfnFileSystem.LogConfigurationProperty.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
level
Sets the value ofCfnFileSystem.LogConfigurationProperty.getLevel()- Parameters:
level- the value to be set. This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public CfnFileSystem.LogConfigurationProperty.Builder destination(String destination) Sets the value ofCfnFileSystem.LogConfigurationProperty.getDestination()- Parameters:
destination- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystem.LogConfigurationProperty>- Returns:
- a new instance of
CfnFileSystem.LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-