Class SupportedRuntimeVersion
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.SupportedRuntimeVersion
-
public final class SupportedRuntimeVersion extends Object
Supported deployment runtime version descriptor.
-
-
Constructor Summary
Constructors Constructor Description SupportedRuntimeVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SupportedRuntimePlatformplatform()Get the platform property: The platform of this runtime version (possible values: "Java" or ".NET").voidvalidate()Validates the instance.SupportedRuntimeValuevalue()Get the value property: The raw value which could be passed to deployment CRUD operations.Stringversion()Get the version property: The detailed version (major.minor) of the platform.SupportedRuntimeVersionwithPlatform(SupportedRuntimePlatform platform)Set the platform property: The platform of this runtime version (possible values: "Java" or ".NET").SupportedRuntimeVersionwithValue(SupportedRuntimeValue value)Set the value property: The raw value which could be passed to deployment CRUD operations.SupportedRuntimeVersionwithVersion(String version)Set the version property: The detailed version (major.minor) of the platform.
-
-
-
Method Detail
-
value
public SupportedRuntimeValue value()
Get the value property: The raw value which could be passed to deployment CRUD operations.- Returns:
- the value value.
-
withValue
public SupportedRuntimeVersion withValue(SupportedRuntimeValue value)
Set the value property: The raw value which could be passed to deployment CRUD operations.- Parameters:
value- the value value to set.- Returns:
- the SupportedRuntimeVersion object itself.
-
platform
public SupportedRuntimePlatform platform()
Get the platform property: The platform of this runtime version (possible values: "Java" or ".NET").- Returns:
- the platform value.
-
withPlatform
public SupportedRuntimeVersion withPlatform(SupportedRuntimePlatform platform)
Set the platform property: The platform of this runtime version (possible values: "Java" or ".NET").- Parameters:
platform- the platform value to set.- Returns:
- the SupportedRuntimeVersion object itself.
-
version
public String version()
Get the version property: The detailed version (major.minor) of the platform.- Returns:
- the version value.
-
withVersion
public SupportedRuntimeVersion withVersion(String version)
Set the version property: The detailed version (major.minor) of the platform.- Parameters:
version- the version value to set.- Returns:
- the SupportedRuntimeVersion object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-