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