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 Details

    • ProfileInner

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

    • etag

      public String etag()
      Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • withEtag

      public ProfileInner withEtag(String etag)
      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

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

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

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

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

      public ProfileInner withEnabledState(State enabledState)
      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.