Interface UpdateExperimentDefinitionRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateExperimentDefinitionRequest.Builder,,UpdateExperimentDefinitionRequest> SdkBuilder<UpdateExperimentDefinitionRequest.Builder,,UpdateExperimentDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateExperimentDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application ID or name.audienceDescription(String audienceDescription) An updated audience description.audienceRule(String audienceRule) An updated audience rule.control(Consumer<TreatmentInput.Builder> control) An updated control treatment.control(TreatmentInput control) An updated control treatment.experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition ID or name.hypothesis(String hypothesis) An updated hypothesis.launchCriteria(String launchCriteria) Updated launch criteria.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.treatments(Collection<TreatmentInput> treatments) The updated list of treatments to evaluate during the experiment.treatments(Consumer<TreatmentInput.Builder>... treatments) The updated list of treatments to evaluate during the experiment.treatments(TreatmentInput... treatments) The updated list of treatments to evaluate during the experiment.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
applicationIdentifier
The application ID or name.
- Parameters:
applicationIdentifier- The application ID or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentDefinitionIdentifier
UpdateExperimentDefinitionRequest.Builder experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition ID or name.
- Parameters:
experimentDefinitionIdentifier- The experiment definition ID or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The updated list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
- Parameters:
treatments- The updated list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The updated list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
- Parameters:
treatments- The updated list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
UpdateExperimentDefinitionRequest.Builder treatments(Consumer<TreatmentInput.Builder>... treatments) The updated list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
This is a convenience method that creates an instance of theTreatmentInput.Builderavoiding the need to create one manually viaTreatmentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatments(List<TreatmentInput>).- Parameters:
treatments- a consumer that will call methods onTreatmentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
control
An updated control treatment.
- Parameters:
control- An updated control treatment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
An updated control treatment.
This is a convenience method that creates an instance of theTreatmentInput.Builderavoiding the need to create one manually viaTreatmentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrol(TreatmentInput).- Parameters:
control- a consumer that will call methods onTreatmentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hypothesis
An updated hypothesis.
- Parameters:
hypothesis- An updated hypothesis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceRule
An updated audience rule.
- Parameters:
audienceRule- An updated audience rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceDescription
An updated audience description.
- Parameters:
audienceDescription- An updated audience description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchCriteria
Updated launch criteria.
- Parameters:
launchCriteria- Updated launch criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateExperimentDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateExperimentDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-