Interface StartExperimentRunRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartExperimentRunRequest.Builder,,StartExperimentRunRequest> SdkBuilder<StartExperimentRunRequest.Builder,,StartExperimentRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartExperimentRunRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application ID or name.deploymentParameters(Consumer<DeploymentParameters.Builder> deploymentParameters) Optional deployment parameters including a KMS key for encryption.deploymentParameters(DeploymentParameters deploymentParameters) Optional deployment parameters including a KMS key for encryption.description(String description) A description of this experiment run.experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition ID or name.exposurePercentage(Float exposurePercentage) The percentage of the target audience to expose to treatments.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to assign to the experiment run.treatmentOverrides(Consumer<TreatmentOverrides.Builder> treatmentOverrides) Treatment assignment overrides that assign specific entity IDs to treatments directly, bypassing random assignment.treatmentOverrides(TreatmentOverrides treatmentOverrides) Treatment assignment overrides that assign specific entity IDs to treatments directly, bypassing random assignment.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
StartExperimentRunRequest.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.
-
description
A description of this experiment run.
- Parameters:
description- A description of this experiment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exposurePercentage
The percentage of the target audience to expose to treatments. Set to 0 to validate the experiment before exposing production users.
- Parameters:
exposurePercentage- The percentage of the target audience to expose to treatments. Set to 0 to validate the experiment before exposing production users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatmentOverrides
Treatment assignment overrides that assign specific entity IDs to treatments directly, bypassing random assignment.
- Parameters:
treatmentOverrides- Treatment assignment overrides that assign specific entity IDs to treatments directly, bypassing random assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatmentOverrides
default StartExperimentRunRequest.Builder treatmentOverrides(Consumer<TreatmentOverrides.Builder> treatmentOverrides) Treatment assignment overrides that assign specific entity IDs to treatments directly, bypassing random assignment.
This is a convenience method that creates an instance of theTreatmentOverrides.Builderavoiding the need to create one manually viaTreatmentOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatmentOverrides(TreatmentOverrides).- Parameters:
treatmentOverrides- a consumer that will call methods onTreatmentOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to assign to the experiment run.
- Parameters:
tags- The tags to assign to the experiment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentParameters
Optional deployment parameters including a KMS key for encryption.
- Parameters:
deploymentParameters- Optional deployment parameters including a KMS key for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentParameters
default StartExperimentRunRequest.Builder deploymentParameters(Consumer<DeploymentParameters.Builder> deploymentParameters) Optional deployment parameters including a KMS key for encryption.
This is a convenience method that creates an instance of theDeploymentParameters.Builderavoiding the need to create one manually viaDeploymentParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentParameters(DeploymentParameters).- Parameters:
deploymentParameters- a consumer that will call methods onDeploymentParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartExperimentRunRequest.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
StartExperimentRunRequest.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.
-