@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
.EntityType
public String getEntityType()
Specifies whether you are configuring a User
or a Group
.
User
or a Group
.EntityType
public 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
.EntityType
public 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
.EntityType
public String toString()
toString
in class Object
Object.toString()
public EntityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.