Class GatewayApiMetadataProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.GatewayApiMetadataProperties
API metadata property for Spring Cloud Gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Detailed description of the APIs available on the Gateway instance (default: `Generated OpenAPI 3 document that describes the API routes configured.`).Get the documentation property: Location of additional documentation for the APIs available on the Gateway instance.Get the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.title()Get the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).voidvalidate()Validates the instance.version()Get the version property: Version of APIs available on this Gateway instance (default: `unspecified`).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.`).withDocumentation(String documentation) Set the documentation property: Location of additional documentation for the APIs available on the Gateway instance.withServerUrl(String serverUrl) Set the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.Set the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).withVersion(String version) Set the version property: Version of APIs available on this Gateway instance (default: `unspecified`).
-
Constructor Details
-
GatewayApiMetadataProperties
public GatewayApiMetadataProperties()
-
-
Method Details
-
title
Get the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).- Returns:
- the title value.
-
withTitle
Set the title property: Title describing the context of the APIs available on the Gateway instance (default: `Spring Cloud Gateway for K8S`).- Parameters:
title- the title value to set.- Returns:
- the GatewayApiMetadataProperties object itself.
-
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:
- the description value.
-
withDescription
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:
description- the description value to set.- Returns:
- the GatewayApiMetadataProperties object itself.
-
documentation
Get the documentation property: Location of additional documentation for the APIs available on the Gateway instance.- Returns:
- the documentation value.
-
withDocumentation
Set the documentation property: Location of additional documentation for the APIs available on the Gateway instance.- Parameters:
documentation- the documentation value to set.- Returns:
- the GatewayApiMetadataProperties object itself.
-
version
Get the version property: Version of APIs available on this Gateway instance (default: `unspecified`).- Returns:
- the version value.
-
withVersion
Set the version property: Version of APIs available on this Gateway instance (default: `unspecified`).- Parameters:
version- the version value to set.- Returns:
- the GatewayApiMetadataProperties object itself.
-
serverUrl
Get the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.- Returns:
- the serverUrl value.
-
withServerUrl
Set the serverUrl property: Base URL that API consumers will use to access APIs on the Gateway instance.- Parameters:
serverUrl- the serverUrl value to set.- Returns:
- the GatewayApiMetadataProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-