GatewayApiMetadataProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GatewayApiMetadataProperties
- com.
Implements
public final class GatewayApiMetadataProperties
implements JsonSerializable<GatewayApiMetadataProperties>
API metadata property for Spring Cloud Gateway.
Constructor Summary
Constructor | Description |
---|---|
GatewayApiMetadataProperties() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`). |
String |
documentation()
Get the documentation property: Location of additional documentation for the APIs available on the Gateway instance. |
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
String |
serverUrl()
Get the server |
String |
title()
Get the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`). |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of APIs available on this Gateway instance (default: `unspecified`). |
Gateway |
withDescription(String description)
Set the description property: Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`). |
Gateway |
withDocumentation(String documentation)
Set the documentation property: Location of additional documentation for the APIs available on the Gateway instance. |
Gateway |
withServerUrl(String serverUrl)
Set the server |
Gateway |
withTitle(String title)
Set the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`). |
Gateway |
withVersion(String version)
Set the version property: Version of APIs available on this Gateway instance (default: `unspecified`). |
Methods inherited from java.lang.Object
Constructor Details
GatewayApiMetadataProperties
public GatewayApiMetadataProperties()
Creates an instance of GatewayApiMetadataProperties class.
Method Details
description
public String description()
Get the description property: Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`).
Returns:
documentation
public String documentation()
Get the documentation property: Location of additional documentation for the APIs available on the Gateway instance.
Returns:
fromJson
public static GatewayApiMetadataProperties fromJson(JsonReader jsonReader)
Reads an instance of GatewayApiMetadataProperties from the JsonReader.
Parameters:
Returns:
Throws:
serverUrl
public String serverUrl()
Get the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.
Returns:
title
public String title()
Get the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of APIs available on this Gateway instance (default: `unspecified`).
Returns:
withDescription
public GatewayApiMetadataProperties withDescription(String description)
Set the description property: Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`).
Parameters:
Returns:
withDocumentation
public GatewayApiMetadataProperties withDocumentation(String documentation)
Set the documentation property: Location of additional documentation for the APIs available on the Gateway instance.
Parameters:
Returns:
withServerUrl
public GatewayApiMetadataProperties withServerUrl(String serverUrl)
Set the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.
Parameters:
Returns:
withTitle
public GatewayApiMetadataProperties withTitle(String title)
Set the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).
Parameters:
Returns:
withVersion
public GatewayApiMetadataProperties withVersion(String version)
Set the version property: Version of APIs available on this Gateway instance (default: `unspecified`).
Parameters:
Returns:
Applies to
Azure SDK for Java