Class MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder
java.lang.Object
com.cumulocity.microservice.subscription.model.MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder
- Enclosing class:
- MicroserviceMetadataRepresentation
public static class MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
extension
(com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation extension) extensions
(Collection<? extends com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions) requiredRole
(String requiredRole) requiredRoles
(Collection<? extends String> requiredRoles) roles
(Collection<? extends String> roles) toString()
-
Method Details
-
requiredRole
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder requiredRole(String requiredRole) -
requiredRoles
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder requiredRoles(Collection<? extends String> requiredRoles) -
clearRequiredRoles
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder clearRequiredRoles() -
role
-
roles
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder roles(Collection<? extends String> roles) -
clearRoles
-
url
-
extension
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder extension(com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation extension) -
extensions
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder extensions(Collection<? extends com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions) -
clearExtensions
public MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder clearExtensions() -
build
-
toString
-