public static interface CreateFeatureRequest.Builder extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<CreateFeatureRequest.Builder,CreateFeatureRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFeatureRequest.Builder |
defaultVariation(String defaultVariation)
The name of the variation to use as the default variation.
|
CreateFeatureRequest.Builder |
description(String description)
An optional description of the feature.
|
CreateFeatureRequest.Builder |
entityOverrides(Map<String,String> entityOverrides)
Specify users that should always be served a specific variation of a feature.
|
CreateFeatureRequest.Builder |
evaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
Specify
ALL_RULES to activate the traffic allocation specified by any ongoing launches or
experiments. |
CreateFeatureRequest.Builder |
evaluationStrategy(String evaluationStrategy)
Specify
ALL_RULES to activate the traffic allocation specified by any ongoing launches or
experiments. |
CreateFeatureRequest.Builder |
name(String name)
The name for the new feature.
|
CreateFeatureRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFeatureRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFeatureRequest.Builder |
project(String project)
The name or ARN of the project that is to contain the new feature.
|
CreateFeatureRequest.Builder |
tags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the feature.
|
CreateFeatureRequest.Builder |
variations(Collection<VariationConfig> variations)
An array of structures that contain the configuration of the feature's different variations.
|
CreateFeatureRequest.Builder |
variations(Consumer<VariationConfig.Builder>... variations)
An array of structures that contain the configuration of the feature's different variations.
|
CreateFeatureRequest.Builder |
variations(VariationConfig... variations)
An array of structures that contain the configuration of the feature's different variations.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFeatureRequest.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.
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.
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.
CreateFeatureRequest.Builder description(String description)
An optional description of the feature.
description - An optional description of the feature.CreateFeatureRequest.Builder entityOverrides(Map<String,String> 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.
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.CreateFeatureRequest.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,
FeatureEvaluationStrategyCreateFeatureRequest.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,
FeatureEvaluationStrategyCreateFeatureRequest.Builder name(String name)
The name for the new feature.
name - The name for the new feature.CreateFeatureRequest.Builder project(String project)
The name or ARN of the project that is to contain the new feature.
project - The name or ARN of the project that is to contain the new feature.CreateFeatureRequest.Builder tags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the feature.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a feature.
For more information, see Tagging Amazon Web Services resources.
tags - Assigns one or more tags (key-value pairs) to the feature.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a feature.
For more information, see Tagging Amazon Web Services resources.
CreateFeatureRequest.Builder variations(Collection<VariationConfig> variations)
An array of structures that contain the configuration of the feature's different variations.
variations - An array of structures that contain the configuration of the feature's different variations.CreateFeatureRequest.Builder variations(VariationConfig... variations)
An array of structures that contain the configuration of the feature's different variations.
variations - An array of structures that contain the configuration of the feature's different variations.CreateFeatureRequest.Builder variations(Consumer<VariationConfig.Builder>... variations)
An array of structures that contain the configuration of the feature's different variations.
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 #variations(List.
variations - a consumer that will call methods on
VariationConfig.Builder#variations(java.util.Collection) CreateFeatureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFeatureRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.