Class UserProfilePrograms.Builder
-
- All Implemented Interfaces:
public final class UserProfilePrograms.BuilderA builder for UserProfilePrograms.
-
-
Method Summary
-
-
Method Detail
-
cyber
final UserProfilePrograms.Builder cyber(UserProfileCyberProgram cyber)
The profile's standing in the Cyber Verification Program.
nullwhen the profile has no status in it. Only retrieving the profile gives the full answer: a list or update response can shownull, or a status other thanactive, for a profile that readsactivewhen retrieved.
-
cyber
final UserProfilePrograms.Builder cyber(Optional<UserProfileCyberProgram> cyber)
Alias for calling Builder.cyber with
cyber.orElse(null).
-
cyber
final UserProfilePrograms.Builder cyber(JsonField<UserProfileCyberProgram> cyber)
Sets Builder.cyber to an arbitrary JSON value.
You should usually call Builder.cyber with a well-typed UserProfileCyberProgram value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
efs
final UserProfilePrograms.Builder efs(UserProfileEfsProgram efs)
The profile's standing in Enterprise Frontier Safeguards.
nullunless the platform's attestation for the program is in place on this profile, or the entity it represents has applied to the program. A list of user profiles does not report this program: there it readsnullfor every profile, so retrieve the profile to read it.
-
efs
final UserProfilePrograms.Builder efs(Optional<UserProfileEfsProgram> efs)
Alias for calling Builder.efs with
efs.orElse(null).
-
efs
final UserProfilePrograms.Builder efs(JsonField<UserProfileEfsProgram> efs)
Sets Builder.efs to an arbitrary JSON value.
You should usually call Builder.efs with a well-typed UserProfileEfsProgram value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UserProfilePrograms.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserProfilePrograms.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserProfilePrograms.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserProfilePrograms.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserProfilePrograms.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserProfilePrograms build()
Returns an immutable instance of UserProfilePrograms.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cyber() .efs()
-
-
-
-