Class CfnDetector.ModelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnDetector.ModelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.ModelProperty>
- Enclosing interface:
CfnDetector.ModelProperty
@Stability(Stable)
public static final class CfnDetector.ModelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.ModelProperty>
A builder for
CfnDetector.ModelProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetector.ModelProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnDetector.ModelProperty.getArn()
- Parameters:
arn
- The ARN of the model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDetector.ModelProperty>
- Returns:
- a new instance of
CfnDetector.ModelProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-