Partager via


Experiments Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Experiments

Implements

public final class Experiments
implements JsonSerializable<Experiments>

Routing rules in production experiments.

Constructor Summary

Constructor Description
Experiments()

Creates an instance of Experiments class.

Method Summary

Modifier and Type Method and Description
static Experiments fromJson(JsonReader jsonReader)

Reads an instance of Experiments from the JsonReader.

List<RampUpRule> rampUpRules()

Get the rampUpRules property: List of ramp-up rules.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Experiments withRampUpRules(List<RampUpRule> rampUpRules)

Set the rampUpRules property: List of ramp-up rules.

Methods inherited from java.lang.Object

Constructor Details

Experiments

public Experiments()

Creates an instance of Experiments class.

Method Details

fromJson

public static Experiments fromJson(JsonReader jsonReader)

Reads an instance of Experiments from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Experiments if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Experiments.

rampUpRules

public List rampUpRules()

Get the rampUpRules property: List of ramp-up rules.

Returns:

the rampUpRules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRampUpRules

public Experiments withRampUpRules(List rampUpRules)

Set the rampUpRules property: List of ramp-up rules.

Parameters:

rampUpRules - the rampUpRules value to set.

Returns:

the Experiments object itself.

Applies to