Class ParameterInfo

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ParameterInfo

public final class ParameterInfo extends Object
Information about an artifact's parameter.
  • Constructor Details

    • ParameterInfo

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

    • name

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

      public ParameterInfo withName(String name)
      Set the name property: The name of the artifact parameter.
      Parameters:
      name - the name value to set.
      Returns:
      the ParameterInfo object itself.
    • value

      public String value()
      Get the value property: The value of the artifact parameter.
      Returns:
      the value value.
    • withValue

      public ParameterInfo withValue(String value)
      Set the value property: The value of the artifact parameter.
      Parameters:
      value - the value value to set.
      Returns:
      the ParameterInfo object itself.
    • validate

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