Class CfnDetector.EntityTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.EntityTypeProperty>
- Enclosing interface:
CfnDetector.EntityTypeProperty
CfnDetector.EntityTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetector.EntityTypeProperty.getArn()
build()
Builds the configured instance.createdTime
(String createdTime) Sets the value ofCfnDetector.EntityTypeProperty.getCreatedTime()
description
(String description) Sets the value ofCfnDetector.EntityTypeProperty.getDescription()
Sets the value ofCfnDetector.EntityTypeProperty.getInline()
inline
(IResolvable inline) Sets the value ofCfnDetector.EntityTypeProperty.getInline()
lastUpdatedTime
(String lastUpdatedTime) Sets the value ofCfnDetector.EntityTypeProperty.getLastUpdatedTime()
Sets the value ofCfnDetector.EntityTypeProperty.getName()
Sets the value ofCfnDetector.EntityTypeProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnDetector.EntityTypeProperty.getArn()
- Parameters:
arn
- The entity type ARN.- Returns:
this
-
createdTime
Sets the value ofCfnDetector.EntityTypeProperty.getCreatedTime()
- Parameters:
createdTime
- Timestamp of when the entity type was created.- Returns:
this
-
description
Sets the value ofCfnDetector.EntityTypeProperty.getDescription()
- Parameters:
description
- The entity type description.- Returns:
this
-
inline
Sets the value ofCfnDetector.EntityTypeProperty.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.EntityTypeProperty.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
-
lastUpdatedTime
@Stability(Stable) public CfnDetector.EntityTypeProperty.Builder lastUpdatedTime(String lastUpdatedTime) Sets the value ofCfnDetector.EntityTypeProperty.getLastUpdatedTime()
- Parameters:
lastUpdatedTime
- Timestamp of when the entity type was last updated.- Returns:
this
-
name
Sets the value ofCfnDetector.EntityTypeProperty.getName()
- Parameters:
name
- The entity type name.- Returns:
this
-
tags
Sets the value ofCfnDetector.EntityTypeProperty.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.EntityTypeProperty>
- Returns:
- a new instance of
CfnDetector.EntityTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-