Class ProfileInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.ProfileInner
public final class ProfileInner
extends com.azure.core.management.Resource
Defines an Network Experiment Profile and lists of Experiments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the enabledState property: The state of the Experiment.etag()
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.Get the resourceState property: Resource status.void
validate()
Validates the instance.withEnabledState
(State enabledState) Set the enabledState property: The state of the Experiment.Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.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
-
ProfileInner
public ProfileInner()Creates an instance of ProfileInner class.
-
-
Method Details
-
etag
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withEtag
Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Parameters:
etag
- the etag value to set.- Returns:
- the ProfileInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
resourceState
Get the resourceState property: Resource status.- Returns:
- the resourceState value.
-
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 ProfileInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-