FeatureState class
Input properties used for looking up and filtering Feature resources.
Constructors
-
FeatureState({Input<
String?> ? arn, Input<String?> ? createdTime, Input<String?> ? defaultVariation, Input<String?> ? description, Input<Map< ? entityOverrides, Input<String, String> ?>List< ? evaluationRules, Input<FeatureEvaluationRule> ?>String?> ? evaluationStrategy, Input<String?> ? lastUpdatedTime, Input<String?> ? name, Input<String?> ? project, Input<String?> ? region, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? valueType, Input<List< ? variations})FeatureVariation> ?> -
Creates a new FeatureState.
arnThe ARN of the feature.createdTimeThe date and time that the feature is created.defaultVariationThe name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in thevariationsstructure. If you omitdefaultVariation, the first variation listed in thevariationsstructure is used as the default variation.descriptionSpecifies the description of the feature.entityOverridesSpecify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.evaluationRulesOne or more blocks that define the evaluation rules for the feature. Detailed belowevaluationStrategySpecifyALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.lastUpdatedTimeThe date and time that the feature was most recently updated.nameThe name for the new feature. Minimum length of1. Maximum length of127.projectThe name or ARN of the project that is to contain the new feature.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.statusThe current state of the feature. Valid values areAVAILABLEandUPDATING.tagsTags to apply to the feature. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.valueTypeDefines the type of value used to define the different feature variations. Valid Values:STRING,LONG,DOUBLE,BOOLEAN.variationsOne or more blocks that contain the configuration of the feature's different variations. Detailed belowconst -
FeatureState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
The ARN of the feature.
final
-
createdTime
→ Input<
String?> ? -
The date and time that the feature is created.
final
-
defaultVariation
→ Input<
String?> ? -
The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature. This variation must also be listed in the
variationsstructure. If you omitdefaultVariation, the first variation listed in thevariationsstructure is used as the default variation.final -
description
→ Input<
String?> ? -
Specifies the description of the feature.
final
-
entityOverrides
→ Input<
Map< ?String, String> ?> -
Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.
final
-
evaluationRules
→ Input<
List< ?FeatureEvaluationRule> ?> -
One or more blocks that define the evaluation rules for the feature. Detailed below
final
-
evaluationStrategy
→ Input<
String?> ? -
Specify
ALL_RULESto activate the traffic allocation specified by any ongoing launches or experiments. SpecifyDEFAULT_VARIATIONto serve the default variation to all users instead.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lastUpdatedTime
→ Input<
String?> ? -
The date and time that the feature was most recently updated.
final
-
name
→ Input<
String?> ? -
The name for the new feature. Minimum length of
1. Maximum length of127.final -
project
→ Input<
String?> ? -
The name or ARN of the project that is to contain the new feature.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Input<
String?> ? -
The current state of the feature. Valid values are
AVAILABLEandUPDATING.final -
Tags to apply to the feature. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
valueType
→ Input<
String?> ? -
Defines the type of value used to define the different feature variations. Valid Values:
STRING,LONG,DOUBLE,BOOLEAN.final -
variations
→ Input<
List< ?FeatureVariation> ?> -
One or more blocks that contain the configuration of the feature's different variations. Detailed below
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited