Class CfnEntityTypeProps.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnEntityTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityTypeProps>
- Enclosing interface:
CfnEntityTypeProps
@Stability(Stable)
public static final class CfnEntityTypeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityTypeProps>
A builder for
CfnEntityTypeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEntityTypeProps.getDescription()Sets the value ofCfnEntityTypeProps.getName()Sets the value ofCfnEntityTypeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEntityTypeProps.getName()- Parameters:
name- The entity type name. This parameter is required. Pattern:^[0-9a-z_-]+$- Returns:
this
-
description
Sets the value ofCfnEntityTypeProps.getDescription()- Parameters:
description- The entity type description.- Returns:
this
-
tags
Sets the value ofCfnEntityTypeProps.getTags()- Parameters:
tags- A key and value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityTypeProps>- Returns:
- a new instance of
CfnEntityTypeProps - Throws:
NullPointerException- if any required attribute was not provided
-