Class ExperimentUpdateModel
java.lang.Object
com.azure.resourcemanager.frontdoor.models.ExperimentUpdateModel
Defines modifiable attributes of an Experiment.
-
Constructor Summary
-
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.tags()
Get the tags property: Resource tags.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.Set the tags property: Resource tags.
-
Constructor Details
-
ExperimentUpdateModel
public ExperimentUpdateModel()Creates an instance of ExperimentUpdateModel class.
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ExperimentUpdateModel object itself.
-
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 ExperimentUpdateModel 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 ExperimentUpdateModel object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-