SupportedServerVersionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.fluent.models.SupportedServerVersionInner

Implements

public final class SupportedServerVersionInner
implements JsonSerializable<SupportedServerVersionInner>

Supported server version.

Constructor Summary

Constructor Description
SupportedServerVersionInner()

Creates an instance of SupportedServerVersionInner class.

Method Summary

Modifier and Type Method and Description
static SupportedServerVersionInner fromJson(JsonReader jsonReader)

Reads an instance of SupportedServerVersionInner from the JsonReader.

String server()

Get the server property: The server name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The raw server version value which could be passed to deployment CRUD operations.

String version()

Get the version property: The Server version.

SupportedServerVersionInner withServer(String server)

Set the server property: The server name.

SupportedServerVersionInner withValue(String value)

Set the value property: The raw server version value which could be passed to deployment CRUD operations.

SupportedServerVersionInner withVersion(String version)

Set the version property: The Server version.

Methods inherited from java.lang.Object

Constructor Details

SupportedServerVersionInner

public SupportedServerVersionInner()

Creates an instance of SupportedServerVersionInner class.

Method Details

fromJson

public static SupportedServerVersionInner fromJson(JsonReader jsonReader)

Reads an instance of SupportedServerVersionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SupportedServerVersionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SupportedServerVersionInner.

server

public String server()

Get the server property: The server name.

Returns:

the server value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The raw server version value which could be passed to deployment CRUD operations.

Returns:

the value value.

version

public String version()

Get the version property: The Server version.

Returns:

the version value.

withServer

public SupportedServerVersionInner withServer(String server)

Set the server property: The server name.

Parameters:

server - the server value to set.

Returns:

the SupportedServerVersionInner object itself.

withValue

public SupportedServerVersionInner withValue(String value)

Set the value property: The raw server version value which could be passed to deployment CRUD operations.

Parameters:

value - the value value to set.

Returns:

the SupportedServerVersionInner object itself.

withVersion

public SupportedServerVersionInner withVersion(String version)

Set the version property: The Server version.

Parameters:

version - the version value to set.

Returns:

the SupportedServerVersionInner object itself.

Applies to