Interface SpringApp.DefinitionStages.WithEndpoint
- All Known Subinterfaces:
SpringApp.Definition,SpringApp.DefinitionStages.WithCreate
- Enclosing interface:
- SpringApp.DefinitionStages
public static interface SpringApp.DefinitionStages.WithEndpoint
The stage of a spring app definition allowing to specify the endpoint.
-
Method Summary
Modifier and TypeMethodDescriptionwithCustomDomain(String domain) Specifies the custom domain for the spring app.withCustomDomain(String domain, String certThumbprint) Specifies the custom domain for the spring app.Enables the default public endpoint for the spring app.Enables https only for the spring app.
-
Method Details
-
withDefaultPublicEndpoint
SpringApp.DefinitionStages.WithCreate withDefaultPublicEndpoint()Enables the default public endpoint for the spring app.- Returns:
- the next stage of spring app definition
-
withCustomDomain
Specifies the custom domain for the spring app.- Parameters:
domain- the domain name- Returns:
- the next stage of spring app definition
-
withCustomDomain
Specifies the custom domain for the spring app.- Parameters:
domain- the domain namecertThumbprint- the thumbprint of certificate for https- Returns:
- the next stage of spring app update
-
withHttpsOnly
SpringApp.DefinitionStages.WithCreate withHttpsOnly()Enables https only for the spring app.- Returns:
- the next stage of spring app definition
-