Class GatewayRouteConfigProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.GatewayRouteConfigProperties
API route config of the Spring Cloud Gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appResourceId property: The resource Id of the Azure Spring Apps app, required unless route defines `uri`.openApi()Get the openApi property: OpenAPI properties of Spring Cloud Gateway route config.protocol()Get the protocol property: Protocol of routed Azure Spring Apps applications.Get the provisioningState property: State of the Spring Cloud Gateway route config.routes()Get the routes property: Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`.voidvalidate()Validates the instance.withAppResourceId(String appResourceId) Set the appResourceId property: The resource Id of the Azure Spring Apps app, required unless route defines `uri`.Set the openApi property: OpenAPI properties of Spring Cloud Gateway route config.withProtocol(GatewayRouteConfigProtocol protocol) Set the protocol property: Protocol of routed Azure Spring Apps applications.withRoutes(List<GatewayApiRoute> routes) Set the routes property: Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`.
-
Constructor Details
-
GatewayRouteConfigProperties
public GatewayRouteConfigProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: State of the Spring Cloud Gateway route config.- Returns:
- the provisioningState value.
-
appResourceId
Get the appResourceId property: The resource Id of the Azure Spring Apps app, required unless route defines `uri`.- Returns:
- the appResourceId value.
-
withAppResourceId
Set the appResourceId property: The resource Id of the Azure Spring Apps app, required unless route defines `uri`.- Parameters:
appResourceId- the appResourceId value to set.- Returns:
- the GatewayRouteConfigProperties object itself.
-
openApi
Get the openApi property: OpenAPI properties of Spring Cloud Gateway route config.- Returns:
- the openApi value.
-
withOpenApi
Set the openApi property: OpenAPI properties of Spring Cloud Gateway route config.- Parameters:
openApi- the openApi value to set.- Returns:
- the GatewayRouteConfigProperties object itself.
-
protocol
Get the protocol property: Protocol of routed Azure Spring Apps applications.- Returns:
- the protocol value.
-
withProtocol
Set the protocol property: Protocol of routed Azure Spring Apps applications.- Parameters:
protocol- the protocol value to set.- Returns:
- the GatewayRouteConfigProperties object itself.
-
routes
Get the routes property: Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`.- Returns:
- the routes value.
-
withRoutes
Set the routes property: Array of API routes, each route contains properties such as `title`, `uri`, `ssoEnabled`, `predicates`, `filters`.- Parameters:
routes- the routes value to set.- Returns:
- the GatewayRouteConfigProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-