Class CfnDetectorPropsMixin.LabelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin.LabelProperty>
- Enclosing interface:
CfnDetectorPropsMixin.LabelProperty
CfnDetectorPropsMixin.LabelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetectorPropsMixin.LabelProperty.getArn()build()Builds the configured instance.createdTime(String createdTime) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getCreatedTime()description(String description) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getDescription()Sets the value ofCfnDetectorPropsMixin.LabelProperty.getInline()inline(IResolvable inline) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getInline()lastUpdatedTime(String lastUpdatedTime) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getLastUpdatedTime()Sets the value ofCfnDetectorPropsMixin.LabelProperty.getName()Sets the value ofCfnDetectorPropsMixin.LabelProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnDetectorPropsMixin.LabelProperty.getArn()- Parameters:
arn- The label ARN.- Returns:
this
-
createdTime
@Stability(Stable) public CfnDetectorPropsMixin.LabelProperty.Builder createdTime(String createdTime) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getCreatedTime()- Parameters:
createdTime- Timestamp of when the event type was created.- Returns:
this
-
description
@Stability(Stable) public CfnDetectorPropsMixin.LabelProperty.Builder description(String description) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getDescription()- Parameters:
description- The label description.- Returns:
this
-
inline
Sets the value ofCfnDetectorPropsMixin.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::Detectoryou must define at least two variables. You can setInline=truefor 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 ofCfnDetectorPropsMixin.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::Detectoryou must define at least two variables. You can setInline=truefor 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 CfnDetectorPropsMixin.LabelProperty.Builder lastUpdatedTime(String lastUpdatedTime) Sets the value ofCfnDetectorPropsMixin.LabelProperty.getLastUpdatedTime()- Parameters:
lastUpdatedTime- Timestamp of when the label was last updated.- Returns:
this
-
name
Sets the value ofCfnDetectorPropsMixin.LabelProperty.getName()- Parameters:
name- The label name.- Returns:
this
-
tags
@Stability(Stable) public CfnDetectorPropsMixin.LabelProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDetectorPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin.LabelProperty>- Returns:
- a new instance of
CfnDetectorPropsMixin.LabelProperty - Throws:
NullPointerException- if any required attribute was not provided
-