다음을 통해 공유


GatewayInstance Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.GatewayInstance

Implements

public final class GatewayInstance
implements JsonSerializable<GatewayInstance>

Collection of instances belong to the Spring Cloud Gateway.

Constructor Summary

Constructor Description
GatewayInstance()

Creates an instance of GatewayInstance class.

Method Summary

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

Reads an instance of GatewayInstance from the JsonReader.

String name()

Get the name property: Name of the Spring Cloud Gateway instance.

String status()

Get the status property: Status of the Spring Cloud Gateway instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GatewayInstance

public GatewayInstance()

Creates an instance of GatewayInstance class.

Method Details

fromJson

public static GatewayInstance fromJson(JsonReader jsonReader)

Reads an instance of GatewayInstance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the Spring Cloud Gateway instance.

Returns:

the name value.

status

public String status()

Get the status property: Status of the Spring Cloud Gateway instance.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to