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