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<String, String>?>? entityOverrides, Input<List<FeatureEvaluationRule>?>? evaluationRules, Input<String?>? evaluationStrategy, Input<String?>? lastUpdatedTime, Input<String?>? name, Input<String?>? project, Input<String?>? region, Input<String?>? status, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? valueType, Input<List<FeatureVariation>?>? variations})
Creates a new FeatureState. arn The ARN of the feature. createdTime The date and time that the feature is created. defaultVariation 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 variations structure. If you omit defaultVariation, the first variation listed in the variations structure is used as the default variation. description Specifies the description of the feature. entityOverrides 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. evaluationRules One or more blocks that define the evaluation rules for the feature. Detailed below evaluationStrategy Specify ALL_RULES to activate the traffic allocation specified by any ongoing launches or experiments. Specify DEFAULT_VARIATION to serve the default variation to all users instead. lastUpdatedTime The date and time that the feature was most recently updated. name The name for the new feature. Minimum length of 1. Maximum length of 127. project The name or ARN of the project that is to contain the new feature. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. status The current state of the feature. Valid values are AVAILABLE and UPDATING. tags Tags to apply to the feature. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. valueType Defines the type of value used to define the different feature variations. Valid Values: STRING, LONG, DOUBLE, BOOLEAN. variations One or more blocks that contain the configuration of the feature's different variations. Detailed below
const
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 variations structure. If you omit defaultVariation, the first variation listed in the variations structure 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_RULES to activate the traffic allocation specified by any ongoing launches or experiments. Specify DEFAULT_VARIATION to 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 of 127.
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 AVAILABLE and UPDATING.
final
tags → Input<Map<String, String>?>?
Tags to apply to the feature. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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