Class CreateRoleRequest.Builder
java.lang.Object
ai.vectros.resources.auth.requests.CreateRoleRequest.Builder
- All Implemented Interfaces:
CreateRoleRequest._FinalStage,CreateRoleRequest.BodyStage
- Enclosing class:
CreateRoleRequest
public static final class CreateRoleRequest.Builder
extends Object
implements CreateRoleRequest.BodyStage, CreateRoleRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull RoleRequest body) build()from(CreateRoleRequest other) Whentrue, if a role with the sameroleIdalready exists itsname,description, andscopesare updated to the submitted values instead of being returned unchanged.Whentrue, if a role with the sameroleIdalready exists itsname,description, andscopesare updated to the submitted values instead of being returned unchanged.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateRoleRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateRoleRequest.BodyStage
-
upsert
When
true, if a role with the sameroleIdalready exists itsname,description, andscopesare updated to the submitted values instead of being returned unchanged. Defaults tofalse. Requires theprofiles:uscope in addition toprofiles:c.- Specified by:
upsertin interfaceCreateRoleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if a role with the sameroleIdalready exists itsname,description, andscopesare updated to the submitted values instead of being returned unchanged. Defaults tofalse. Requires theprofiles:uscope in addition toprofiles:c.- Specified by:
upsertin interfaceCreateRoleRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateRoleRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateRoleRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateRoleRequest._FinalStage
-