public static interface FeatureSummary.Builder extends SdkPojo, CopyableBuilder<FeatureSummary.Builder,FeatureSummary>
| Modifier and Type | Method and Description |
|---|---|
FeatureSummary.Builder |
arn(String arn)
The ARN of the feature.
|
FeatureSummary.Builder |
createdTime(Instant createdTime)
The date and time that the feature is created.
|
FeatureSummary.Builder |
defaultVariation(String defaultVariation)
The name of the variation that is used as the default variation.
|
FeatureSummary.Builder |
evaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
|
FeatureSummary.Builder |
evaluationRules(Consumer<EvaluationRule.Builder>... evaluationRules)
An array of structures that define
|
FeatureSummary.Builder |
evaluationRules(EvaluationRule... evaluationRules)
An array of structures that define
|
FeatureSummary.Builder |
evaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
If this value is
ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. |
FeatureSummary.Builder |
evaluationStrategy(String evaluationStrategy)
If this value is
ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. |
FeatureSummary.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The date and time that the feature was most recently updated.
|
FeatureSummary.Builder |
name(String name)
The name of the feature.
|
FeatureSummary.Builder |
project(String project)
The name or ARN of the project that contains the feature.
|
FeatureSummary.Builder |
status(FeatureStatus status)
The current state of the feature.
|
FeatureSummary.Builder |
status(String status)
The current state of the feature.
|
FeatureSummary.Builder |
tags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFeatureSummary.Builder arn(String arn)
The ARN of the feature.
arn - The ARN of the feature.FeatureSummary.Builder createdTime(Instant createdTime)
The date and time that the feature is created.
createdTime - The date and time that the feature is created.FeatureSummary.Builder defaultVariation(String defaultVariation)
The name of the variation that is used 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 that is used as the default variation. The default variation is served to
users who are not allocated to any ongoing launches or experiments of this feature.FeatureSummary.Builder evaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
evaluationRules - An array of structures that defineFeatureSummary.Builder evaluationRules(EvaluationRule... evaluationRules)
An array of structures that define
evaluationRules - An array of structures that defineFeatureSummary.Builder evaluationRules(Consumer<EvaluationRule.Builder>... evaluationRules)
An array of structures that define
This is a convenience method that creates an instance of theEvaluationRule.Builder avoiding the need to create
one manually via EvaluationRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #evaluationRules(List.
evaluationRules - a consumer that will call methods on
EvaluationRule.Builder#evaluationRules(java.util.Collection) FeatureSummary.Builder evaluationStrategy(String evaluationStrategy)
If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION, the default variation is being served
to all users.
evaluationStrategy - If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION, the default variation is being
served to all users.FeatureEvaluationStrategy,
FeatureEvaluationStrategyFeatureSummary.Builder evaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION, the default variation is being served
to all users.
evaluationStrategy - If this value is ALL_RULES, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION, the default variation is being
served to all users.FeatureEvaluationStrategy,
FeatureEvaluationStrategyFeatureSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date and time that the feature was most recently updated.
lastUpdatedTime - The date and time that the feature was most recently updated.FeatureSummary.Builder name(String name)
The name of the feature.
name - The name of the feature.FeatureSummary.Builder project(String project)
The name or ARN of the project that contains the feature.
project - The name or ARN of the project that contains the feature.FeatureSummary.Builder status(String status)
The current state of the feature.
status - The current state of the feature.FeatureStatus,
FeatureStatusFeatureSummary.Builder status(FeatureStatus status)
The current state of the feature.
status - The current state of the feature.FeatureStatus,
FeatureStatusFeatureSummary.Builder tags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
tags - The list of tag keys and values associated with this feature.Copyright © 2023. All rights reserved.