SupportedRuntimeVersion Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. SupportedRuntimeVersion
- com.
Implements
public final class SupportedRuntimeVersion
implements JsonSerializable<SupportedRuntimeVersion>
Supported deployment runtime version descriptor.
Constructor Summary
Constructor | Description |
---|---|
SupportedRuntimeVersion() |
Creates an instance of Supported |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Supported |
fromJson(JsonReader jsonReader)
Reads an instance of Supported |
Supported |
platform()
Get the platform property: The platform of this runtime version (possible values: "Java" or ".NET"). |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Supported |
value()
Get the value property: The raw value which could be passed to deployment CRUD operations. |
String |
version()
Get the version property: The detailed version (major. |
Supported |
withPlatform(SupportedRuntimePlatform platform)
Set the platform property: The platform of this runtime version (possible values: "Java" or ".NET"). |
Supported |
withValue(SupportedRuntimeValue value)
Set the value property: The raw value which could be passed to deployment CRUD operations. |
Supported |
withVersion(String version)
Set the version property: The detailed version (major. |
Methods inherited from java.lang.Object
Constructor Details
SupportedRuntimeVersion
public SupportedRuntimeVersion()
Creates an instance of SupportedRuntimeVersion class.
Method Details
fromJson
public static SupportedRuntimeVersion fromJson(JsonReader jsonReader)
Reads an instance of SupportedRuntimeVersion from the JsonReader.
Parameters:
Returns:
Throws:
platform
public SupportedRuntimePlatform platform()
Get the platform property: The platform of this runtime version (possible values: "Java" or ".NET").
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public SupportedRuntimeValue value()
Get the value property: The raw value which could be passed to deployment CRUD operations.
Returns:
version
public String version()
Get the version property: The detailed version (major.minor) of the platform.
Returns:
withPlatform
public SupportedRuntimeVersion withPlatform(SupportedRuntimePlatform platform)
Set the platform property: The platform of this runtime version (possible values: "Java" or ".NET").
Parameters:
Returns:
withValue
public SupportedRuntimeVersion withValue(SupportedRuntimeValue value)
Set the value property: The raw value which could be passed to deployment CRUD operations.
Parameters:
Returns:
withVersion
public SupportedRuntimeVersion withVersion(String version)
Set the version property: The detailed version (major.minor) of the platform.
Parameters:
Returns:
Applies to
Azure SDK for Java