Class CfnDetector.EventTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.EventTypeProperty>
- Enclosing interface:
CfnDetector.EventTypeProperty
CfnDetector.EventTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetector.EventTypeProperty.getArn()
build()
Builds the configured instance.createdTime
(String createdTime) Sets the value ofCfnDetector.EventTypeProperty.getCreatedTime()
description
(String description) Sets the value ofCfnDetector.EventTypeProperty.getDescription()
entityTypes
(List<? extends Object> entityTypes) Sets the value ofCfnDetector.EventTypeProperty.getEntityTypes()
entityTypes
(IResolvable entityTypes) Sets the value ofCfnDetector.EventTypeProperty.getEntityTypes()
eventVariables
(List<? extends Object> eventVariables) Sets the value ofCfnDetector.EventTypeProperty.getEventVariables()
eventVariables
(IResolvable eventVariables) Sets the value ofCfnDetector.EventTypeProperty.getEventVariables()
Sets the value ofCfnDetector.EventTypeProperty.getInline()
inline
(IResolvable inline) Sets the value ofCfnDetector.EventTypeProperty.getInline()
Sets the value ofCfnDetector.EventTypeProperty.getLabels()
labels
(IResolvable labels) Sets the value ofCfnDetector.EventTypeProperty.getLabels()
lastUpdatedTime
(String lastUpdatedTime) Sets the value ofCfnDetector.EventTypeProperty.getLastUpdatedTime()
Sets the value ofCfnDetector.EventTypeProperty.getName()
Sets the value ofCfnDetector.EventTypeProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnDetector.EventTypeProperty.getArn()
- Parameters:
arn
- The entity type ARN.- Returns:
this
-
createdTime
Sets the value ofCfnDetector.EventTypeProperty.getCreatedTime()
- Parameters:
createdTime
- Timestamp of when the event type was created.- Returns:
this
-
description
Sets the value ofCfnDetector.EventTypeProperty.getDescription()
- Parameters:
description
- The event type description.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder entityTypes(IResolvable entityTypes) Sets the value ofCfnDetector.EventTypeProperty.getEntityTypes()
- Parameters:
entityTypes
- The event type entity types.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder entityTypes(List<? extends Object> entityTypes) Sets the value ofCfnDetector.EventTypeProperty.getEntityTypes()
- Parameters:
entityTypes
- The event type entity types.- Returns:
this
-
eventVariables
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder eventVariables(IResolvable eventVariables) Sets the value ofCfnDetector.EventTypeProperty.getEventVariables()
- Parameters:
eventVariables
- The event type event variables.- Returns:
this
-
eventVariables
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder eventVariables(List<? extends Object> eventVariables) Sets the value ofCfnDetector.EventTypeProperty.getEventVariables()
- Parameters:
eventVariables
- The event type event variables.- Returns:
this
-
inline
Sets the value ofCfnDetector.EventTypeProperty.getInline()
- Parameters:
inline
- Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value istrue
, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value isfalse
, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.For example, when creating
AWS::FraudDetector::Detector
you must define at least two variables. You can setInline=true
for these variables and CloudFormation will create/update/delete the Variables as part of stack operations. However, if you setInline=false
, CloudFormation will associate the variables to your detector but not execute any changes to the variables.- Returns:
this
-
inline
Sets the value ofCfnDetector.EventTypeProperty.getInline()
- Parameters:
inline
- Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value istrue
, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value isfalse
, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.For example, when creating
AWS::FraudDetector::Detector
you must define at least two variables. You can setInline=true
for these variables and CloudFormation will create/update/delete the Variables as part of stack operations. However, if you setInline=false
, CloudFormation will associate the variables to your detector but not execute any changes to the variables.- Returns:
this
-
labels
Sets the value ofCfnDetector.EventTypeProperty.getLabels()
- Parameters:
labels
- The event type labels.- Returns:
this
-
labels
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder labels(List<? extends Object> labels) Sets the value ofCfnDetector.EventTypeProperty.getLabels()
- Parameters:
labels
- The event type labels.- Returns:
this
-
lastUpdatedTime
@Stability(Stable) public CfnDetector.EventTypeProperty.Builder lastUpdatedTime(String lastUpdatedTime) Sets the value ofCfnDetector.EventTypeProperty.getLastUpdatedTime()
- Parameters:
lastUpdatedTime
- Timestamp of when the event type was last updated.- Returns:
this
-
name
Sets the value ofCfnDetector.EventTypeProperty.getName()
- Parameters:
name
- The event type name.- Returns:
this
-
tags
Sets the value ofCfnDetector.EventTypeProperty.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<CfnDetector.EventTypeProperty>
- Returns:
- a new instance of
CfnDetector.EventTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-