java.lang.Object
com.azure.resourcemanager.automation.fluent.models.TypeFieldInner

public final class TypeFieldInner extends Object
Information about a field of a type.
  • Constructor Details

    • TypeFieldInner

      public TypeFieldInner()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the field.
      Returns:
      the name value.
    • withName

      public TypeFieldInner withName(String name)
      Set the name property: Gets or sets the name of the field.
      Parameters:
      name - the name value to set.
      Returns:
      the TypeFieldInner object itself.
    • type

      public String type()
      Get the type property: Gets or sets the type of the field.
      Returns:
      the type value.
    • withType

      public TypeFieldInner withType(String type)
      Set the type property: Gets or sets the type of the field.
      Parameters:
      type - the type value to set.
      Returns:
      the TypeFieldInner object itself.
    • validate

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