Class CfnFunction.TracingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnFunction.TracingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.TracingConfigProperty>
- Enclosing interface:
CfnFunction.TracingConfigProperty
@Stability(Stable)
public static final class CfnFunction.TracingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.TracingConfigProperty>
A builder for
CfnFunction.TracingConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFunction.TracingConfigProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnFunction.TracingConfigProperty.getMode()
- Parameters:
mode
- The tracing mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.TracingConfigProperty>
- Returns:
- a new instance of
CfnFunction.TracingConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-