@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserGroupResolutionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information to fetch access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. You can also use the PutPrincipalMapping API to map users to their groups so that you only need to provide the user ID when you issue the query.
To set up an IAM Identity Center identity source in the console to use with Amazon Kendra, see Getting started with an IAM Identity Center identity source. You must also grant the required permissions to use IAM Identity Center with Amazon Kendra. For more information, see IAM roles for IAM Identity Center.
Amazon Kendra currently does not support using UserGroupResolutionConfiguration
with an Amazon Web
Services organization member account for your IAM Identity Center identify source. You must create your index in the
management account for the organization in order to use UserGroupResolutionConfiguration
.
Constructor and Description |
---|
UserGroupResolutionConfiguration() |
Modifier and Type | Method and Description |
---|---|
UserGroupResolutionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getUserGroupResolutionMode()
The identity store provider (mode) you want to use to fetch access levels of groups and users.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserGroupResolutionMode(String userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users.
|
String |
toString()
Returns a string representation of this object.
|
UserGroupResolutionConfiguration |
withUserGroupResolutionMode(String userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users.
|
UserGroupResolutionConfiguration |
withUserGroupResolutionMode(UserGroupResolutionMode userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users.
|
public void setUserGroupResolutionMode(String userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.
userGroupResolutionMode
- The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM
Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups
must exist in an IAM Identity Center identity source in order to use this mode.UserGroupResolutionMode
public String getUserGroupResolutionMode()
The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.
UserGroupResolutionMode
public UserGroupResolutionConfiguration withUserGroupResolutionMode(String userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.
userGroupResolutionMode
- The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM
Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups
must exist in an IAM Identity Center identity source in order to use this mode.UserGroupResolutionMode
public UserGroupResolutionConfiguration withUserGroupResolutionMode(UserGroupResolutionMode userGroupResolutionMode)
The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.
userGroupResolutionMode
- The identity store provider (mode) you want to use to fetch access levels of groups and users. IAM
Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups
must exist in an IAM Identity Center identity source in order to use this mode.UserGroupResolutionMode
public String toString()
toString
in class Object
Object.toString()
public UserGroupResolutionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.