IdentityGroup.Builder

public static class IdentityGroup.Builder extends Object

Builder for IdentityGroup

Public Constructor Summary

Public Method Summary

IdentityGroup
build()
Builds an instance of IdentityGroup.
IdentityGroup.Builder
setGroupIdentity(String groupIdentity)
Sets external group identity.
IdentityGroup.Builder
setGroupKey(EntityKey groupKey)
Sets group key.
IdentityGroup.Builder
setGroupResourceName(String groupResourceName)
Sets resource identifier assigned by Cloud Identity Groups API.
IdentityGroup.Builder
setMembers(Set<Membership> members)
Sets Memberships to be synced under identity group.
IdentityGroup.Builder
setMembers(Supplier<Set<Membership>> membershipSupplier)
Sets Memberships to be synced under identity group.

Inherited Method Summary

Public Constructors

public IdentityGroup.Builder ()

Public Methods

public IdentityGroup build ()

Builds an instance of IdentityGroup.

public IdentityGroup.Builder setGroupIdentity (String groupIdentity)

Sets external group identity. Mapped to display name of Group.

Parameters
groupIdentity external group identity.

public IdentityGroup.Builder setGroupKey (EntityKey groupKey)

Sets group key. Mapped to getGroupKey()

Parameters
groupKey group key

public IdentityGroup.Builder setGroupResourceName (String groupResourceName)

Sets resource identifier assigned by Cloud Identity Groups API. Extracted from getName().

Parameters
groupResourceName resource identifier assigned by Cloud Identity Groups API

public IdentityGroup.Builder setMembers (Set<Membership> members)

Sets Memberships to be synced under identity group.

Parameters
members Memberships to be synced

public IdentityGroup.Builder setMembers (Supplier<Set<Membership>> membershipSupplier)

Sets Memberships to be synced under identity group.

Parameters
membershipSupplier supplier for Memberships to be synced