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 Summary
Constructors Constructor Description VirtualMachineImageFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The name of the feature.voidvalidate()Validates the instance.Stringvalue()Get the value property: The corresponding value for the feature.VirtualMachineImageFeaturewithName(String name)Set the name property: The name of the feature.VirtualMachineImageFeaturewithValue(String value)Set the value property: The corresponding value for the feature.
-
-
-
Method Detail
-
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.
-
-