Class ExperimentInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.ExperimentInner

public final class ExperimentInner extends com.azure.core.management.Resource
Defines the properties of an Experiment.
  • Constructor Details

    • ExperimentInner

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

    • withLocation

      public ExperimentInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ExperimentInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • description

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

      public ExperimentInner 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 ExperimentInner object itself.
    • endpointA

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

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

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

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

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

      public ExperimentInner withEnabledState(State enabledState)
      Set the enabledState property: The state of the Experiment.
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the ExperimentInner 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.