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