Interface FeatureSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FeatureSummary.Builder,FeatureSummary>,SdkBuilder<FeatureSummary.Builder,FeatureSummary>,SdkPojo
- Enclosing class:
- FeatureSummary
public static interface FeatureSummary.Builder extends SdkPojo, CopyableBuilder<FeatureSummary.Builder,FeatureSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureSummary.Builderarn(String arn)The ARN of the feature.FeatureSummary.BuildercreatedTime(Instant createdTime)The date and time that the feature is created.FeatureSummary.BuilderdefaultVariation(String defaultVariation)The name of the variation that is used as the default variation.FeatureSummary.BuilderevaluationRules(Collection<EvaluationRule> evaluationRules)An array of structures that defineFeatureSummary.BuilderevaluationRules(Consumer<EvaluationRule.Builder>... evaluationRules)An array of structures that defineFeatureSummary.BuilderevaluationRules(EvaluationRule... evaluationRules)An array of structures that defineFeatureSummary.BuilderevaluationStrategy(String evaluationStrategy)If this value isALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used.FeatureSummary.BuilderevaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)If this value isALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used.FeatureSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time that the feature was most recently updated.FeatureSummary.Buildername(String name)The name of the feature.FeatureSummary.Builderproject(String project)The name or ARN of the project that contains the feature.FeatureSummary.Builderstatus(String status)The current state of the feature.FeatureSummary.Builderstatus(FeatureStatus status)The current state of the feature.FeatureSummary.Buildertags(Map<String,String> tags)The list of tag keys and values associated with this feature.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
FeatureSummary.Builder arn(String arn)
The ARN of the feature.
- Parameters:
arn- The ARN of the feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
FeatureSummary.Builder createdTime(Instant createdTime)
The date and time that the feature is created.
- Parameters:
createdTime- The date and time that the feature is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVariation
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationRules
FeatureSummary.Builder evaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
- Parameters:
evaluationRules- An array of structures that define- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationRules
FeatureSummary.Builder evaluationRules(EvaluationRule... evaluationRules)
An array of structures that define
- Parameters:
evaluationRules- An array of structures that define- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationRules
FeatureSummary.Builder evaluationRules(Consumer<EvaluationRule.Builder>... evaluationRules)
An array of structures that define
This is a convenience method that creates an instance of theEvaluationRule.Builderavoiding the need to create one manually viaEvaluationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#evaluationRules(List.) - Parameters:
evaluationRules- a consumer that will call methods onEvaluationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#evaluationRules(java.util.Collection)
-
evaluationStrategy
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 isDEFAULT_VARIATION, the default variation is being served to all users.- Parameters:
evaluationStrategy- If this value isALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used. If this isDEFAULT_VARIATION, the default variation is being served to all users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureEvaluationStrategy,FeatureEvaluationStrategy
-
evaluationStrategy
FeatureSummary.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 isDEFAULT_VARIATION, the default variation is being served to all users.- Parameters:
evaluationStrategy- If this value isALL_RULES, the traffic allocation specified by any ongoing launches or experiments is being used. If this isDEFAULT_VARIATION, the default variation is being served to all users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureEvaluationStrategy,FeatureEvaluationStrategy
-
lastUpdatedTime
FeatureSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date and time that the feature was most recently updated.
- Parameters:
lastUpdatedTime- The date and time that the feature was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
FeatureSummary.Builder name(String name)
The name of the feature.
- Parameters:
name- The name of the feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
FeatureSummary.Builder project(String project)
The name or ARN of the project that contains the feature.
- Parameters:
project- The name or ARN of the project that contains the feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
FeatureSummary.Builder status(String status)
The current state of the feature.
- Parameters:
status- The current state of the feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureStatus,FeatureStatus
-
status
FeatureSummary.Builder status(FeatureStatus status)
The current state of the feature.
- Parameters:
status- The current state of the feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureStatus,FeatureStatus
-
tags
FeatureSummary.Builder tags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
- Parameters:
tags- The list of tag keys and values associated with this feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-