@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntitiesDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Contains the list of entities to be considered during an authorization request. This includes all principals, resources, and actions required to successfully evaluate the request.
This data type is used as a field in the response parameter for the IsAuthorized and IsAuthorizedWithToken operations.
Constructor and Description |
---|
EntitiesDefinition() |
Modifier and Type | Method and Description |
---|---|
EntitiesDefinition |
clone() |
boolean |
equals(Object obj) |
List<EntityItem> |
getEntityList()
An array of entities that are needed to successfully evaluate an authorization request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityList(Collection<EntityItem> entityList)
An array of entities that are needed to successfully evaluate an authorization request.
|
String |
toString()
Returns a string representation of this object.
|
EntitiesDefinition |
withEntityList(Collection<EntityItem> entityList)
An array of entities that are needed to successfully evaluate an authorization request.
|
EntitiesDefinition |
withEntityList(EntityItem... entityList)
An array of entities that are needed to successfully evaluate an authorization request.
|
public List<EntityItem> getEntityList()
An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
public void setEntityList(Collection<EntityItem> entityList)
An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
entityList
- An array of entities that are needed to successfully evaluate an authorization request. Each entity in
this array must include an identifier for the entity, the attributes of the entity, and a list of any
parent entities.public EntitiesDefinition withEntityList(EntityItem... entityList)
An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
NOTE: This method appends the values to the existing list (if any). Use
setEntityList(java.util.Collection)
or withEntityList(java.util.Collection)
if you want to
override the existing values.
entityList
- An array of entities that are needed to successfully evaluate an authorization request. Each entity in
this array must include an identifier for the entity, the attributes of the entity, and a list of any
parent entities.public EntitiesDefinition withEntityList(Collection<EntityItem> entityList)
An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
entityList
- An array of entities that are needed to successfully evaluate an authorization request. Each entity in
this array must include an identifier for the entity, the attributes of the entity, and a list of any
parent entities.public String toString()
toString
in class Object
Object.toString()
public EntitiesDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.