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
Membership s to be synced under identity group. |
IdentityGroup.Builder |
setMembers(Supplier<Set<Membership>> membershipSupplier)
Sets
Membership s to be synced under identity group. |
Inherited Method Summary
Public Constructors
public IdentityGroup.Builder ()
Public Methods
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 Membership
s to be synced under identity group.
Parameters
members | Membership s to be synced
|
---|
public IdentityGroup.Builder setMembers (Supplier<Set<Membership>> membershipSupplier)
Sets Membership
s to be synced under identity group.
Parameters
membershipSupplier | supplier for Membership s to be synced
|
---|