Class ExperimentUpdateProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.ExperimentUpdateProperties
Defines the properties of an experiment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ExperimentUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the intent or details of the Experiment.Get the enabledState property: The state of the Experiment.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the intent or details of the Experiment.withEnabledState
(State enabledState) Set the enabledState property: The state of the Experiment.
-
Constructor Details
-
ExperimentUpdateProperties
public ExperimentUpdateProperties()Creates an instance of ExperimentUpdateProperties class.
-
-
Method Details
-
description
Get the description property: The description of the intent or details of the Experiment.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the intent or details of the Experiment.- Parameters:
description
- the description value to set.- Returns:
- the ExperimentUpdateProperties object itself.
-
enabledState
Get the enabledState property: The state of the Experiment.- Returns:
- the enabledState value.
-
withEnabledState
Set the enabledState property: The state of the Experiment.- Parameters:
enabledState
- the enabledState value to set.- Returns:
- the ExperimentUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-