Class CfnEventTypeProps.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnEventTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventTypeProps>
- Enclosing interface:
- CfnEventTypeProps
@Stability(Stable)
public static final class CfnEventTypeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventTypeProps>
A builder for
CfnEventTypeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnEventTypeProps.getDescription()
entityTypes
(List<? extends Object> entityTypes) Sets the value ofCfnEventTypeProps.getEntityTypes()
entityTypes
(IResolvable entityTypes) Sets the value ofCfnEventTypeProps.getEntityTypes()
eventVariables
(List<? extends Object> eventVariables) Sets the value ofCfnEventTypeProps.getEventVariables()
eventVariables
(IResolvable eventVariables) Sets the value ofCfnEventTypeProps.getEventVariables()
Sets the value ofCfnEventTypeProps.getLabels()
labels
(IResolvable labels) Sets the value ofCfnEventTypeProps.getLabels()
Sets the value ofCfnEventTypeProps.getName()
Sets the value ofCfnEventTypeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityTypes
Sets the value ofCfnEventTypeProps.getEntityTypes()
- Parameters:
entityTypes
- The event type entity types. This parameter is required.- Returns:
this
-
entityTypes
Sets the value ofCfnEventTypeProps.getEntityTypes()
- Parameters:
entityTypes
- The event type entity types. This parameter is required.- Returns:
this
-
eventVariables
Sets the value ofCfnEventTypeProps.getEventVariables()
- Parameters:
eventVariables
- The event type event variables. This parameter is required.- Returns:
this
-
eventVariables
@Stability(Stable) public CfnEventTypeProps.Builder eventVariables(List<? extends Object> eventVariables) Sets the value ofCfnEventTypeProps.getEventVariables()
- Parameters:
eventVariables
- The event type event variables. This parameter is required.- Returns:
this
-
labels
Sets the value ofCfnEventTypeProps.getLabels()
- Parameters:
labels
- The event type labels. This parameter is required.- Returns:
this
-
labels
Sets the value ofCfnEventTypeProps.getLabels()
- Parameters:
labels
- The event type labels. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnEventTypeProps.getName()
- Parameters:
name
- The event type name. This parameter is required. Pattern :^[0-9a-z_-]+$
- Returns:
this
-
description
Sets the value ofCfnEventTypeProps.getDescription()
- Parameters:
description
- The event type description.- Returns:
this
-
tags
Sets the value ofCfnEventTypeProps.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<CfnEventTypeProps>
- Returns:
- a new instance of
CfnEventTypeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-