Class MicroserviceManifestRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.application.ManifestRepresentation
com.cumulocity.rest.representation.application.MicroserviceManifestRepresentation
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionMicroserviceManifestRepresentation
(String apiVersion, String contextPath, String version, ProviderRepresentation provider, String isolation, String expose, String scale, String price, ProbeRepresentation livenessProbe, ProbeRepresentation readinessProbe, ResourcesRepresentation resources, List<ConfigurationOptionRepresentation> settings, List<String> requiredRoles, List<String> roles, List<ExtensionRepresentation> extensions) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getPrice()
getRoles()
getScale()
int
hashCode()
void
setApiVersion
(String apiVersion) void
setContextPath
(String contextPath) void
void
setExtensions
(List<ExtensionRepresentation> extensions) void
setIsolation
(String isolation) void
setLivenessProbe
(ProbeRepresentation livenessProbe) void
void
setProvider
(ProviderRepresentation provider) void
setReadinessProbe
(ProbeRepresentation readinessProbe) void
setRequiredRoles
(List<String> requiredRoles) void
setResources
(ResourcesRepresentation resources) void
void
void
setSettings
(List<ConfigurationOptionRepresentation> settings) void
setVersion
(String version) toString()
Methods inherited from class com.cumulocity.rest.representation.application.ManifestRepresentation
getApplicationId, getId, getImports, getUniqueImports, setApplicationId, setId, setImports
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
Constructor Details
-
MicroserviceManifestRepresentation
public MicroserviceManifestRepresentation() -
MicroserviceManifestRepresentation
public MicroserviceManifestRepresentation(String apiVersion, String contextPath, String version, ProviderRepresentation provider, String isolation, String expose, String scale, String price, ProbeRepresentation livenessProbe, ProbeRepresentation readinessProbe, ResourcesRepresentation resources, List<ConfigurationOptionRepresentation> settings, List<String> requiredRoles, List<String> roles, List<ExtensionRepresentation> extensions)
-
-
Method Details
-
builder
public static MicroserviceManifestRepresentation.MicroserviceManifestRepresentationBuilder builder() -
setApiVersion
-
setContextPath
- Overrides:
setContextPath
in classManifestRepresentation
-
setVersion
-
setProvider
-
setIsolation
-
setExpose
-
setScale
-
setPrice
-
setLivenessProbe
-
setReadinessProbe
-
setResources
-
setSettings
-
setRequiredRoles
-
setRoles
-
setExtensions
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classBaseResourceRepresentation
-
getApiVersion
-
getContextPath
- Overrides:
getContextPath
in classManifestRepresentation
-
getVersion
-
getProvider
-
getIsolation
-
getExpose
-
getScale
-
getPrice
-
getLivenessProbe
-
getReadinessProbe
-
getResources
-
getSettings
@JSONProperty(ignoreIfNull=true) @JSONTypeHint(ConfigurationOptionRepresentation.class) public List<ConfigurationOptionRepresentation> getSettings() -
getRequiredRoles
-
getRoles
-
getExtensions
@JSONProperty(ignoreIfNull=true) @JSONTypeHint(ExtensionRepresentation.class) public List<ExtensionRepresentation> getExtensions()
-