Class RoleScope.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<RoleScope>
co.yellowdog.platform.interaction.account.RoleScope.Builder
- Enclosing class:
RoleScope
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.global(boolean global) namespace(@Namespace @NotBlank String namespace) namespaces(Collection<? extends @Namespace @NotBlank String> namespaces) toString()Methods inherited from class ValidatedBuilder
build, validate
-
Method Details
-
global
- Returns:
this.
-
namespace
-
namespaces
-
clearNamespaces
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. Use this when the object is validated later, for example as part of an enclosing object built withValidatedBuilder.build(), or when it does not need to be valid on its own.- Overrides:
buildUncheckedin classValidatedBuilder<RoleScope>- Returns:
- the object being built
-
toString
-