Class MetadataSupportedValueDetail

java.lang.Object
com.azure.resourcemanager.advisor.models.MetadataSupportedValueDetail

public final class MetadataSupportedValueDetail extends Object
The metadata supported value detail.
  • Constructor Details

    • MetadataSupportedValueDetail

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

    • id

      public String id()
      Get the id property: The id.
      Returns:
      the id value.
    • withId

      Set the id property: The id.
      Parameters:
      id - the id value to set.
      Returns:
      the MetadataSupportedValueDetail object itself.
    • displayName

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

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

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