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 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.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ExperimentInner
public ExperimentInner()Creates an instance of ExperimentInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 ExperimentInner 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 ExperimentInner 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 ExperimentInner 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 ExperimentInner 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.
-