@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OidcMemberDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A list of user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a
single private work team. When you add a user group to the list of Groups
, you can add that user group
to one or more private work teams. If you add a user group to a private work team, all workers in that user group are
added to the work team.
Constructor and Description |
---|
OidcMemberDefinition() |
Modifier and Type | Method and Description |
---|---|
OidcMemberDefinition |
clone() |
boolean |
equals(Object obj) |
List<String> |
getGroups()
A list of comma seperated strings that identifies user groups in your OIDC IdP.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroups(Collection<String> groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP.
|
String |
toString()
Returns a string representation of this object.
|
OidcMemberDefinition |
withGroups(Collection<String> groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP.
|
OidcMemberDefinition |
withGroups(String... groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP.
|
public List<String> getGroups()
A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up of a group of private workers.
public void setGroups(Collection<String> groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up of a group of private workers.
groups
- A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up
of a group of private workers.public OidcMemberDefinition withGroups(String... groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up of a group of private workers.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up
of a group of private workers.public OidcMemberDefinition withGroups(Collection<String> groups)
A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up of a group of private workers.
groups
- A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up
of a group of private workers.public String toString()
toString
in class Object
Object.toString()
public OidcMemberDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.