Class MetadataEntityInner

java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.MetadataEntityInner

public final class MetadataEntityInner extends Object
The metadata entity contract.
  • Constructor Details

    • MetadataEntityInner

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

    • id

      public String id()
      Get the id property: The resource Id of the metadata entity.
      Returns:
      the id value.
    • withId

      public MetadataEntityInner withId(String id)
      Set the id property: The resource Id of the metadata entity.
      Parameters:
      id - the id value to set.
      Returns:
      the MetadataEntityInner object itself.
    • type

      public String type()
      Get the type property: The type of the metadata entity.
      Returns:
      the type value.
    • withType

      public MetadataEntityInner withType(String type)
      Set the type property: The type of the metadata entity.
      Parameters:
      type - the type value to set.
      Returns:
      the MetadataEntityInner object itself.
    • name

      public String name()
      Get the name property: The name of the metadata entity.
      Returns:
      the name value.
    • withName

      public MetadataEntityInner withName(String name)
      Set the name property: The name of the metadata entity.
      Parameters:
      name - the name value to set.
      Returns:
      the MetadataEntityInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name.
      Returns:
      the displayName value.
    • withDisplayName

      public MetadataEntityInner withDisplayName(String displayName)
      Set the displayName property: The display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MetadataEntityInner object itself.
    • dependsOn

      public List<String> dependsOn()
      Get the dependsOn property: The list of keys on which this entity depends on.
      Returns:
      the dependsOn value.
    • withDependsOn

      public MetadataEntityInner withDependsOn(List<String> dependsOn)
      Set the dependsOn property: The list of keys on which this entity depends on.
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the MetadataEntityInner object itself.
    • applicableScenarios

      public List<Scenario> applicableScenarios()
      Get the applicableScenarios property: The list of scenarios applicable to this metadata entity.
      Returns:
      the applicableScenarios value.
    • withApplicableScenarios

      public MetadataEntityInner withApplicableScenarios(List<Scenario> applicableScenarios)
      Set the applicableScenarios property: The list of scenarios applicable to this metadata entity.
      Parameters:
      applicableScenarios - the applicableScenarios value to set.
      Returns:
      the MetadataEntityInner object itself.
    • supportedValues

      public List<MetadataSupportedValueDetail> supportedValues()
      Get the supportedValues property: The list of supported values.
      Returns:
      the supportedValues value.
    • withSupportedValues

      public MetadataEntityInner withSupportedValues(List<MetadataSupportedValueDetail> supportedValues)
      Set the supportedValues property: The list of supported values.
      Parameters:
      supportedValues - the supportedValues value to set.
      Returns:
      the MetadataEntityInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.