GatewayInstance Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GatewayInstance
- com.
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 Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
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. |
Json |
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:
Returns:
Throws:
name
public String name()
Get the name property: Name of the Spring Cloud Gateway instance.
Returns:
status
public String status()
Get the status property: Status of the Spring Cloud Gateway instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java