GatewayRouteConfigOpenApiProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GatewayRouteConfigOpenApiProperties
- com.
Implements
public final class GatewayRouteConfigOpenApiProperties
implements JsonSerializable<GatewayRouteConfigOpenApiProperties>
OpenAPI properties of Spring Cloud Gateway route config.
Constructor Summary
Constructor | Description |
---|---|
GatewayRouteConfigOpenApiProperties() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: The URI of OpenAPI specification. |
void |
validate()
Validates the instance. |
Gateway |
withUri(String uri)
Set the uri property: The URI of OpenAPI specification. |
Methods inherited from java.lang.Object
Constructor Details
GatewayRouteConfigOpenApiProperties
public GatewayRouteConfigOpenApiProperties()
Creates an instance of GatewayRouteConfigOpenApiProperties class.
Method Details
fromJson
public static GatewayRouteConfigOpenApiProperties fromJson(JsonReader jsonReader)
Reads an instance of GatewayRouteConfigOpenApiProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
uri
public String uri()
Get the uri property: The URI of OpenAPI specification.
Returns:
validate
public void validate()
Validates the instance.
withUri
public GatewayRouteConfigOpenApiProperties withUri(String uri)
Set the uri property: The URI of OpenAPI specification.
Parameters:
Returns:
Applies to
Azure SDK for Java