public static interface UpdateFeatureRequest.Builder extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<UpdateFeatureRequest.Builder,UpdateFeatureRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateFeatureRequest.Builder |
addOrUpdateVariations(Collection<VariationConfig> addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure.
|
UpdateFeatureRequest.Builder |
addOrUpdateVariations(Consumer<VariationConfig.Builder>... addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure.
|
UpdateFeatureRequest.Builder |
addOrUpdateVariations(VariationConfig... addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure.
|
UpdateFeatureRequest.Builder |
defaultVariation(String defaultVariation)
The name of the variation to use as the default variation.
|
UpdateFeatureRequest.Builder |
description(String description)
An optional description of the feature.
|
UpdateFeatureRequest.Builder |
entityOverrides(Map<String,String> entityOverrides)
Specified users that should always be served a specific variation of a feature.
|
UpdateFeatureRequest.Builder |
evaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
Specify
ALL_RULES to activate the traffic allocation specified by any ongoing launches or
experiments. |
UpdateFeatureRequest.Builder |
evaluationStrategy(String evaluationStrategy)
Specify
ALL_RULES to activate the traffic allocation specified by any ongoing launches or
experiments. |
UpdateFeatureRequest.Builder |
feature(String feature)
The name of the feature to be updated.
|
UpdateFeatureRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateFeatureRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateFeatureRequest.Builder |
project(String project)
The name or ARN of the project that contains the feature to be updated.
|
UpdateFeatureRequest.Builder |
removeVariations(Collection<String> removeVariations)
Removes a variation from the feature.
|
UpdateFeatureRequest.Builder |
removeVariations(String... removeVariations)
Removes a variation from the feature.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateFeatureRequest.Builder addOrUpdateVariations(Collection<VariationConfig> addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure. In this array, include any variations that you want to add or update. If the array includes a variation name that already exists for this feature, it is updated. If it includes a new variation name, it is added as a new variation.
addOrUpdateVariations - To update variation configurations for this feature, or add new ones, specify this structure. In this
array, include any variations that you want to add or update. If the array includes a variation name
that already exists for this feature, it is updated. If it includes a new variation name, it is added
as a new variation.UpdateFeatureRequest.Builder addOrUpdateVariations(VariationConfig... addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure. In this array, include any variations that you want to add or update. If the array includes a variation name that already exists for this feature, it is updated. If it includes a new variation name, it is added as a new variation.
addOrUpdateVariations - To update variation configurations for this feature, or add new ones, specify this structure. In this
array, include any variations that you want to add or update. If the array includes a variation name
that already exists for this feature, it is updated. If it includes a new variation name, it is added
as a new variation.UpdateFeatureRequest.Builder addOrUpdateVariations(Consumer<VariationConfig.Builder>... addOrUpdateVariations)
To update variation configurations for this feature, or add new ones, specify this structure. In this array, include any variations that you want to add or update. If the array includes a variation name that already exists for this feature, it is updated. If it includes a new variation name, it is added as a new variation.
This is a convenience method that creates an instance of theVariationConfig.Builder avoiding the need to create
one manually via VariationConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #addOrUpdateVariations(List.
addOrUpdateVariations - a consumer that will call methods on
VariationConfig.Builder#addOrUpdateVariations(java.util.Collection) UpdateFeatureRequest.Builder defaultVariation(String 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.
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.UpdateFeatureRequest.Builder description(String description)
An optional description of the feature.
description - An optional description of the feature.UpdateFeatureRequest.Builder entityOverrides(Map<String,String> entityOverrides)
Specified 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.
This parameter is limited to 2500 overrides or a total of 40KB. The 40KB limit includes an overhead of 6 bytes per override.
entityOverrides - Specified 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.
This parameter is limited to 2500 overrides or a total of 40KB. The 40KB limit includes an overhead of 6 bytes per override.
UpdateFeatureRequest.Builder evaluationStrategy(String 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.
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.FeatureEvaluationStrategy,
FeatureEvaluationStrategyUpdateFeatureRequest.Builder evaluationStrategy(FeatureEvaluationStrategy 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.
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.FeatureEvaluationStrategy,
FeatureEvaluationStrategyUpdateFeatureRequest.Builder feature(String feature)
The name of the feature to be updated.
feature - The name of the feature to be updated.UpdateFeatureRequest.Builder project(String project)
The name or ARN of the project that contains the feature to be updated.
project - The name or ARN of the project that contains the feature to be updated.UpdateFeatureRequest.Builder removeVariations(Collection<String> removeVariations)
Removes a variation from the feature. If the variation you specify doesn't exist, then this makes no change and does not report an error.
This operation fails if you try to remove a variation that is part of an ongoing launch or experiment.
removeVariations - Removes a variation from the feature. If the variation you specify doesn't exist, then this makes no
change and does not report an error.
This operation fails if you try to remove a variation that is part of an ongoing launch or experiment.
UpdateFeatureRequest.Builder removeVariations(String... removeVariations)
Removes a variation from the feature. If the variation you specify doesn't exist, then this makes no change and does not report an error.
This operation fails if you try to remove a variation that is part of an ongoing launch or experiment.
removeVariations - Removes a variation from the feature. If the variation you specify doesn't exist, then this makes no
change and does not report an error.
This operation fails if you try to remove a variation that is part of an ongoing launch or experiment.
UpdateFeatureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateFeatureRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.