GatewayServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.GatewayServerProperties

Implements

public final class GatewayServerProperties
implements JsonSerializable<GatewayServerProperties>

Defines the SAP Gateway Server properties.

Constructor Summary

Constructor Description
GatewayServerProperties()

Creates an instance of GatewayServerProperties class.

Method Summary

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

Reads an instance of GatewayServerProperties from the JsonReader.

SapHealthState health()

Get the health property: Defines the health of SAP Instances.

Long port()

Get the port property: Gateway Port.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GatewayServerProperties

public GatewayServerProperties()

Creates an instance of GatewayServerProperties class.

Method Details

fromJson

public static GatewayServerProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayServerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GatewayServerProperties 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 GatewayServerProperties.

health

public SapHealthState health()

Get the health property: Defines the health of SAP Instances.

Returns:

the health value.

port

public Long port()

Get the port property: Gateway Port.

Returns:

the port value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to