Class CfnModelExplainabilityJobDefinition.JsonProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelExplainabilityJobDefinition.JsonProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.JsonProperty>
- Enclosing interface:
CfnModelExplainabilityJobDefinition.JsonProperty
@Stability(Stable)
public static final class CfnModelExplainabilityJobDefinition.JsonProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.JsonProperty>
A builder for
CfnModelExplainabilityJobDefinition.JsonProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnModelExplainabilityJobDefinition.JsonProperty.getLine()
line
(IResolvable line) Sets the value ofCfnModelExplainabilityJobDefinition.JsonProperty.getLine()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
line
@Stability(Stable) public CfnModelExplainabilityJobDefinition.JsonProperty.Builder line(Boolean line) Sets the value ofCfnModelExplainabilityJobDefinition.JsonProperty.getLine()
- Parameters:
line
- A boolean flag indicating if it is JSON line format.- Returns:
this
-
line
@Stability(Stable) public CfnModelExplainabilityJobDefinition.JsonProperty.Builder line(IResolvable line) Sets the value ofCfnModelExplainabilityJobDefinition.JsonProperty.getLine()
- Parameters:
line
- A boolean flag indicating if it is JSON line format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.JsonProperty>
- Returns:
- a new instance of
CfnModelExplainabilityJobDefinition.JsonProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-