Class ExperimentUpdateModel

java.lang.Object
com.azure.resourcemanager.frontdoor.models.ExperimentUpdateModel

public final class ExperimentUpdateModel extends Object
Defines modifiable attributes of an Experiment.
  • Constructor Details

    • ExperimentUpdateModel

      public ExperimentUpdateModel()
      Creates an instance of ExperimentUpdateModel class.
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public ExperimentUpdateModel withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the ExperimentUpdateModel object itself.
    • description

      public String description()
      Get the description property: The description of the intent or details of the Experiment.
      Returns:
      the description value.
    • withDescription

      public ExperimentUpdateModel withDescription(String description)
      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

      public State enabledState()
      Get the enabledState property: The state of the Experiment.
      Returns:
      the enabledState value.
    • withEnabledState

      public ExperimentUpdateModel withEnabledState(State enabledState)
      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.