Class ApplicationRepresentation.ApplicationRepresentationBuilder
java.lang.Object
com.cumulocity.rest.representation.application.ApplicationRepresentation.ApplicationRepresentationBuilder
- Enclosing class:
- ApplicationRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionactiveVersionId
(String activeVersionId) applicationVersions
(List<ApplicationVersionRepresentation> applicationVersions) availability
(String availability) build()
contextPath
(String contextPath) externalUrl
(String externalUrl) manifest
(ManifestRepresentation manifest) requiredRoles
(List<String> requiredRoles) Roles that are required for microservice in order to make requests to platform instance.resourcesPassword
(String resourcesPassword) Deprecated.resourcesUrl
(String resourcesUrl) Deprecated.resourcesUsername
(String resourcesUsername) Deprecated.Roles that are required for users in order to make requests to microservice instance;toString()
-
Method Details
-
id
- Returns:
this
.
-
name
- Returns:
this
.
-
key
- Returns:
this
.
-
type
- Returns:
this
.
-
availability
- Returns:
this
.
-
owner
public ApplicationRepresentation.ApplicationRepresentationBuilder owner(TenantReferenceRepresentation owner) - Returns:
this
.
-
contextPath
- Returns:
this
.
-
resourcesUrl
@Deprecated public ApplicationRepresentation.ApplicationRepresentationBuilder resourcesUrl(String resourcesUrl) Deprecated.- Returns:
this
.
-
resourcesUsername
@Deprecated public ApplicationRepresentation.ApplicationRepresentationBuilder resourcesUsername(String resourcesUsername) Deprecated.- Returns:
this
.
-
resourcesPassword
@Deprecated public ApplicationRepresentation.ApplicationRepresentationBuilder resourcesPassword(String resourcesPassword) Deprecated.- Returns:
this
.
-
externalUrl
- Returns:
this
.
-
manifest
public ApplicationRepresentation.ApplicationRepresentationBuilder manifest(ManifestRepresentation manifest) - Returns:
this
.
-
activeVersionId
public ApplicationRepresentation.ApplicationRepresentationBuilder activeVersionId(String activeVersionId) - Returns:
this
.
-
requiredRoles
public ApplicationRepresentation.ApplicationRepresentationBuilder requiredRoles(List<String> requiredRoles) Roles that are required for microservice in order to make requests to platform instance.- Returns:
this
.
-
roles
Roles that are required for users in order to make requests to microservice instance;- Returns:
this
.
-
applicationVersions
public ApplicationRepresentation.ApplicationRepresentationBuilder applicationVersions(List<ApplicationVersionRepresentation> applicationVersions) - Returns:
this
.
-
url
- Returns:
this
.
-
build
-
toString
-