Class MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder
java.lang.Object
com.cumulocity.rest.representation.application.MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder
- Enclosing class:
- MicroserviceManifestRepresentation
public static class MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) build()
contextPath
(String contextPath) extension
(ExtensionRepresentation extension) extensions
(Collection<? extends ExtensionRepresentation> extensions) livenessProbe
(ProbeRepresentation livenessProbe) provider
(ProviderRepresentation provider) readinessProbe
(ProbeRepresentation readinessProbe) requiredRole
(String requiredRole) requiredRoles
(Collection<? extends String> requiredRoles) resources
(ResourcesRepresentation resources) roles
(Collection<? extends String> roles) setting
(ConfigurationOptionRepresentation setting) settings
(Collection<? extends ConfigurationOptionRepresentation> settings) toString()
-
Method Details
-
apiVersion
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder apiVersion(String apiVersion) - Returns:
this
.
-
contextPath
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder contextPath(String contextPath) - Returns:
this
.
-
version
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder version(String version) - Returns:
this
.
-
provider
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder provider(ProviderRepresentation provider) - Returns:
this
.
-
isolation
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder isolation(String isolation) - Returns:
this
.
-
expose
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder expose(String expose) - Returns:
this
.
-
scale
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder scale(String scale) - Returns:
this
.
-
price
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder price(String price) - Returns:
this
.
-
livenessProbe
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder livenessProbe(ProbeRepresentation livenessProbe) - Returns:
this
.
-
readinessProbe
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder readinessProbe(ProbeRepresentation readinessProbe) - Returns:
this
.
-
resources
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder resources(ResourcesRepresentation resources) - Returns:
this
.
-
setting
-
settings
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder settings(Collection<? extends ConfigurationOptionRepresentation> settings) -
clearSettings
-
requiredRole
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder requiredRole(String requiredRole) -
requiredRoles
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder requiredRoles(Collection<? extends String> requiredRoles) -
clearRequiredRoles
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder clearRequiredRoles() -
role
-
roles
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder roles(Collection<? extends String> roles) -
clearRoles
-
extension
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder extension(ExtensionRepresentation extension) -
extensions
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder extensions(Collection<? extends ExtensionRepresentation> extensions) -
clearExtensions
public MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder clearExtensions() -
build
-
toString
-