@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for users or groups in your IAM Identity Center identity source to grant access your Amazon Kendra experience.
| Constructor and Description |
|---|
EntityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EntityConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getEntityId()
The identifier of a user or group in your IAM Identity Center identity source.
|
String |
getEntityType()
Specifies whether you are configuring a
User or a Group. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEntityId(String entityId)
The identifier of a user or group in your IAM Identity Center identity source.
|
void |
setEntityType(String entityType)
Specifies whether you are configuring a
User or a Group. |
String |
toString()
Returns a string representation of this object.
|
EntityConfiguration |
withEntityId(String entityId)
The identifier of a user or group in your IAM Identity Center identity source.
|
EntityConfiguration |
withEntityType(EntityType entityType)
Specifies whether you are configuring a
User or a Group. |
EntityConfiguration |
withEntityType(String entityType)
Specifies whether you are configuring a
User or a Group. |
public void setEntityId(String entityId)
The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.
entityId - The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID
could be an email.public String getEntityId()
The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.
public EntityConfiguration withEntityId(String entityId)
The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID could be an email.
entityId - The identifier of a user or group in your IAM Identity Center identity source. For example, a user ID
could be an email.public void setEntityType(String entityType)
Specifies whether you are configuring a User or a Group.
entityType - Specifies whether you are configuring a User or a Group.EntityTypepublic String getEntityType()
Specifies whether you are configuring a User or a Group.
User or a Group.EntityTypepublic EntityConfiguration withEntityType(String entityType)
Specifies whether you are configuring a User or a Group.
entityType - Specifies whether you are configuring a User or a Group.EntityTypepublic EntityConfiguration withEntityType(EntityType entityType)
Specifies whether you are configuring a User or a Group.
entityType - Specifies whether you are configuring a User or a Group.EntityTypepublic String toString()
toString in class ObjectObject.toString()public EntityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.