Interface GetExperimentDefinitionResponse.Builder
- All Superinterfaces:
AppConfigResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetExperimentDefinitionResponse.Builder,,GetExperimentDefinitionResponse> SdkBuilder<GetExperimentDefinitionResponse.Builder,,GetExperimentDefinitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetExperimentDefinitionResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID.audienceDescription(String audienceDescription) A description of the intended audience for the experiment.audienceRule(String audienceRule) The rule that defines which users are eligible to be assigned to treatments.configurationProfileId(String configurationProfileId) The configuration profile ID associated with the experiment.control(Consumer<Treatment.Builder> control) The control treatment used as the baseline for comparison.The control treatment used as the baseline for comparison.The date and time the experiment definition was created, in ISO 8601 format.environmentId(String environmentId) The environment ID where the experiment runs.The key of the feature flag used by the experiment.hypothesis(String hypothesis) The hypothesis that the experiment is designed to validate.The experiment definition ID.kmsKeyIdentifier(String kmsKeyIdentifier) The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.launchCriteria(String launchCriteria) The conditions under which the winning treatment should be launched.The name of the experiment definition.The current status of the experiment definition.status(ExperimentDefinitionStatus status) The current status of the experiment definition.treatments(Collection<Treatment> treatments) The list of treatments defined for the experiment.treatments(Consumer<Treatment.Builder>... treatments) The list of treatments defined for the experiment.treatments(Treatment... treatments) The list of treatments defined for the experiment.The date and time the experiment definition was last updated, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationId
The application ID.
- Parameters:
applicationId- The application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The experiment definition ID.
- Parameters:
id- The experiment definition ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the experiment definition.
- Parameters:
name- The name of the experiment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypothesis
The hypothesis that the experiment is designed to validate.
- Parameters:
hypothesis- The hypothesis that the experiment is designed to validate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the experiment definition. Valid values:
ACTIVE,IDLE,ARCHIVED.- Parameters:
status- The current status of the experiment definition. Valid values:ACTIVE,IDLE,ARCHIVED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the experiment definition. Valid values:
ACTIVE,IDLE,ARCHIVED.- Parameters:
status- The current status of the experiment definition. Valid values:ACTIVE,IDLE,ARCHIVED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationProfileId
The configuration profile ID associated with the experiment.
- Parameters:
configurationProfileId- The configuration profile ID associated with the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The environment ID where the experiment runs.
- Parameters:
environmentId- The environment ID where the experiment runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flagKey
The key of the feature flag used by the experiment.
- Parameters:
flagKey- The key of the feature flag used by the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceRule
The rule that defines which users are eligible to be assigned to treatments.
- Parameters:
audienceRule- The rule that defines which users are eligible to be assigned to treatments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceDescription
A description of the intended audience for the experiment.
- Parameters:
audienceDescription- A description of the intended audience for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchCriteria
The conditions under which the winning treatment should be launched.
- Parameters:
launchCriteria- The conditions under which the winning treatment should be launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The list of treatments defined for the experiment.
- Parameters:
treatments- The list of treatments defined for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The list of treatments defined for the experiment.
- Parameters:
treatments- The list of treatments defined for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The list of treatments defined for the experiment.
This is a convenience method that creates an instance of theTreatment.Builderavoiding the need to create one manually viaTreatment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatments(List<Treatment>).- Parameters:
treatments- a consumer that will call methods onTreatment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
control
The control treatment used as the baseline for comparison.
- Parameters:
control- The control treatment used as the baseline for comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
The control treatment used as the baseline for comparison.
This is a convenience method that creates an instance of theTreatment.Builderavoiding the need to create one manually viaTreatment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrol(Treatment).- Parameters:
control- a consumer that will call methods onTreatment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the experiment definition was created, in ISO 8601 format.
- Parameters:
createdAt- The date and time the experiment definition was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the experiment definition was last updated, in ISO 8601 format.
- Parameters:
updatedAt- The date and time the experiment definition was last updated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.
- Parameters:
kmsKeyIdentifier- The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-