Class ExperimentProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.ExperimentProperties
Defines the properties of an experiment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the details or intents of the Experiment.Get the enabledState property: The state of the Experiment.Get the endpointA property: The endpoint A of an experiment.Get the endpointB property: The endpoint B of an experiment.Get the resourceState property: Resource status.Get the scriptFileUri property: The uri to the Script used in the Experiment.status()
Get the status property: The description of Experiment status from the server side.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the details or intents of the Experiment.withEnabledState
(State enabledState) Set the enabledState property: The state of the Experiment.withEndpointA
(Endpoint endpointA) Set the endpointA property: The endpoint A of an experiment.withEndpointB
(Endpoint endpointB) Set the endpointB property: The endpoint B of an experiment.
-
Constructor Details
-
ExperimentProperties
public ExperimentProperties()Creates an instance of ExperimentProperties class.
-
-
Method Details
-
description
Get the description property: The description of the details or intents of the Experiment.- Returns:
- the description value.
-
withDescription
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
Get the endpointA property: The endpoint A of an experiment.- Returns:
- the endpointA value.
-
withEndpointA
Set the endpointA property: The endpoint A of an experiment.- Parameters:
endpointA
- the endpointA value to set.- Returns:
- the ExperimentProperties object itself.
-
endpointB
Get the endpointB property: The endpoint B of an experiment.- Returns:
- the endpointB value.
-
withEndpointB
Set the endpointB property: The endpoint B of an experiment.- Parameters:
endpointB
- the endpointB value to set.- Returns:
- the ExperimentProperties 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 ExperimentProperties object itself.
-
resourceState
Get the resourceState property: Resource status.- Returns:
- the resourceState value.
-
status
Get the status property: The description of Experiment status from the server side.- Returns:
- the status value.
-
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.
-