VirtualMachineImageFeature Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineImageFeature
- com.
Implements
public final class VirtualMachineImageFeature
implements JsonSerializable<VirtualMachineImageFeature>
Specifies additional capabilities supported by the image.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineImageFeature() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
name()
Get the name property: The name of the feature. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The corresponding value for the feature. |
Virtual |
withName(String name)
Set the name property: The name of the feature. |
Virtual |
withValue(String value)
Set the value property: The corresponding value for the feature. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineImageFeature
public VirtualMachineImageFeature()
Creates an instance of VirtualMachineImageFeature class.
Method Details
fromJson
public static VirtualMachineImageFeature fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineImageFeature from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the feature.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The corresponding value for the feature.
Returns:
withName
public VirtualMachineImageFeature withName(String name)
Set the name property: The name of the feature.
Parameters:
Returns:
withValue
public VirtualMachineImageFeature withValue(String value)
Set the value property: The corresponding value for the feature.
Parameters:
Returns:
Applies to
Azure SDK for Java