Extension Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. Extension
- com.
Implements
public final class Extension
implements JsonSerializable<Extension>
Describes a cloud service Extension.
Constructor | Description |
---|---|
Extension() |
Creates an instance of Extension class. |
Modifier and Type | Method and Description |
---|---|
static Extension |
from Reads an instance of Extension from the Json |
String |
name()
Get the name property: The name of the extension. |
Cloud |
properties()
Get the properties property: Extension Properties. |
Json |
to |
void |
validate()
Validates the instance. |
Extension |
with Set the name property: The name of the extension. |
Extension |
with Set the properties property: Extension Properties. |
Methods inherited from java.lang.Object
Extension
public Extension()
Creates an instance of Extension class.
fromJson
public static Extension fromJson(JsonReader jsonReader)
Reads an instance of Extension from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the extension.
Returns:
properties
public CloudServiceExtensionProperties properties()
Get the properties property: Extension Properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public Extension withName(String name)
Set the name property: The name of the extension.
Parameters:
Returns:
withProperties
public Extension withProperties(CloudServiceExtensionProperties properties)
Set the properties property: Extension Properties.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: