Interface EvaluateFeatureRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EvaluateFeatureRequest.Builder,
,EvaluateFeatureRequest> EvidentlyRequest.Builder
,SdkBuilder<EvaluateFeatureRequest.Builder,
,EvaluateFeatureRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EvaluateFeatureRequest
@Mutable
@NotThreadSafe
public static interface EvaluateFeatureRequest.Builder
extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<EvaluateFeatureRequest.Builder,EvaluateFeatureRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAn internal ID that represents a unique user of the application.evaluationContext
(String evaluationContext) A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session.The name of the feature being evaluated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or ARN of the project that contains this feature.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entityId
An internal ID that represents a unique user of the application. This
entityID
is checked against any override rules assigned for this feature.- Parameters:
entityId
- An internal ID that represents a unique user of the application. ThisentityID
is checked against any override rules assigned for this feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationContext
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
- Parameters:
evaluationContext
- A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.If you include this parameter, the value must be a JSON object. A JSON array is not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feature
The name of the feature being evaluated.
- Parameters:
feature
- The name of the feature being evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The name or ARN of the project that contains this feature.
- Parameters:
project
- The name or ARN of the project that contains this feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EvaluateFeatureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
EvaluateFeatureRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-