Class ExperimentProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.ExperimentProperties

public final class ExperimentProperties extends Object
Defines the properties of an experiment.
  • Constructor Details

    • ExperimentProperties

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

    • description

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

      public ExperimentProperties withDescription(String description)
      Set the description property: The description of the details or intents of the Experiment.
      Parameters:
      description - the description value to set.
      Returns:
      the ExperimentProperties object itself.
    • endpointA

      public Endpoint endpointA()
      Get the endpointA property: The endpoint A of an experiment.
      Returns:
      the endpointA value.
    • withEndpointA

      public ExperimentProperties withEndpointA(Endpoint endpointA)
      Set the endpointA property: The endpoint A of an experiment.
      Parameters:
      endpointA - the endpointA value to set.
      Returns:
      the ExperimentProperties object itself.
    • endpointB

      public Endpoint endpointB()
      Get the endpointB property: The endpoint B of an experiment.
      Returns:
      the endpointB value.
    • withEndpointB

      public ExperimentProperties withEndpointB(Endpoint endpointB)
      Set the endpointB property: The endpoint B of an experiment.
      Parameters:
      endpointB - the endpointB value to set.
      Returns:
      the ExperimentProperties object itself.
    • enabledState

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

      public ExperimentProperties withEnabledState(State enabledState)
      Set the enabledState property: The state of the Experiment.
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the ExperimentProperties object itself.
    • resourceState

      public NetworkExperimentResourceState resourceState()
      Get the resourceState property: Resource status.
      Returns:
      the resourceState value.
    • status

      public String status()
      Get the status property: The description of Experiment status from the server side.
      Returns:
      the status value.
    • scriptFileUri

      public String scriptFileUri()
      Get the scriptFileUri property: The uri to the Script used in the Experiment.
      Returns:
      the scriptFileUri value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.