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