Class VirtualMachineImageFeature

java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineImageFeature

public final class VirtualMachineImageFeature extends Object
Specifies additional capabilities supported by the image.
  • Constructor Details

    • VirtualMachineImageFeature

      public VirtualMachineImageFeature()
  • Method Details

    • name

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

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

      public String value()
      Get the value property: The corresponding value for the feature.
      Returns:
      the value value.
    • withValue

      public VirtualMachineImageFeature withValue(String value)
      Set the value property: The corresponding value for the feature.
      Parameters:
      value - the value value to set.
      Returns:
      the VirtualMachineImageFeature object itself.
    • validate

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