java.lang.Object
com.azure.resourcemanager.commerce.models.InfoField

public final class InfoField extends Object
Key-value pairs of instance details in the legacy format.
  • Constructor Details

    • InfoField

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

    • project

      public String project()
      Get the project property: Identifies the name of the instance provisioned by the user.
      Returns:
      the project value.
    • withProject

      public InfoField withProject(String project)
      Set the project property: Identifies the name of the instance provisioned by the user.
      Parameters:
      project - the project value to set.
      Returns:
      the InfoField object itself.
    • validate

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