@Stability(value=Stable) public static final class CfnDetector.EventVariableProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetector.EventVariableProperty>
CfnDetector.EventVariableProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder arn(String arn)
CfnDetector.EventVariableProperty.getArn()arn - The event variable ARN.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder createdTime(String createdTime)
CfnDetector.EventVariableProperty.getCreatedTime()createdTime - Timestamp for when the event variable was created.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder dataSource(String dataSource)
CfnDetector.EventVariableProperty.getDataSource()dataSource - The data source of the event variable.
Valid values: EVENT | EXTERNAL_MODEL_SCORE
When defining a variable within a detector, you can only use the EVENT value for DataSource when the Inline property is set to true. If the Inline property is set false, you can use either EVENT or MODEL_SCORE for DataSource.
this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder dataType(String dataType)
CfnDetector.EventVariableProperty.getDataType()dataType - The data type of the event variable.
Valid values: STRING | INTEGER | BOOLEAN | FLOATthis@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder defaultValue(String defaultValue)
CfnDetector.EventVariableProperty.getDefaultValue()defaultValue - The default value of the event variable.
This is required if you are providing the details of your variables instead of the ARN.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder description(String description)
CfnDetector.EventVariableProperty.getDescription()description - The description of the event variable.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder inline(Boolean inline)
CfnDetector.EventVariableProperty.getInline()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 is true , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is false , 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 set Inline=true for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set Inline=false , CloudFormation will associate the variables to your detector but not execute any changes to the variables.
this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder inline(IResolvable inline)
CfnDetector.EventVariableProperty.getInline()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 is true , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is false , 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 set Inline=true for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set Inline=false , CloudFormation will associate the variables to your detector but not execute any changes to the variables.
this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder lastUpdatedTime(String lastUpdatedTime)
CfnDetector.EventVariableProperty.getLastUpdatedTime()lastUpdatedTime - Timestamp for when the event variable was last updated.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder name(String name)
CfnDetector.EventVariableProperty.getName()name - The name of the event variable.this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder tags(List<? extends CfnTag> tags)
CfnDetector.EventVariableProperty.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnDetector.EventVariableProperty.Builder variableType(String variableType)
CfnDetector.EventVariableProperty.getVariableType()variableType - The type of event variable.
For more information, see Variable types .this@Stability(value=Stable) public CfnDetector.EventVariableProperty build()
build in interface software.amazon.jsii.Builder<CfnDetector.EventVariableProperty>CfnDetector.EventVariablePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.