Class CfnOutcomeProps.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnOutcomeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOutcomeProps>
- Enclosing interface:
CfnOutcomeProps
@Stability(Stable)
public static final class CfnOutcomeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOutcomeProps>
A builder for
CfnOutcomeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnOutcomeProps.getDescription()
Sets the value ofCfnOutcomeProps.getName()
Sets the value ofCfnOutcomeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnOutcomeProps.getName()
- Parameters:
name
- The outcome name. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnOutcomeProps.getDescription()
- Parameters:
description
- The outcome description.- Returns:
this
-
tags
Sets the value ofCfnOutcomeProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOutcomeProps>
- Returns:
- a new instance of
CfnOutcomeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-