@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 AWS Single Sign-On identity source. This is useful for setting up user context filtering, where Amazon Kendra filters search results for different users based on their group's access to documents. You can also map your users to their groups for user context filtering using the PutPrincipalMapping operation.
To set up an AWS SSO identity source in the console to use with Amazon Kendra, see Getting started with an AWS SSO identity source. You must also grant the required permissions to use AWS SSO with Amazon Kendra. For more information, see IAM roles for AWS Single Sign-On.
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. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single
Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single
Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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. AWS Single
Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO 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.