@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityInfo extends Object implements Serializable, Cloneable
Contains details about the specified entity (user or role).
This data type is an element of the EntityDetails object.
Constructor and Description |
---|
EntityInfo() |
Modifier and Type | Method and Description |
---|---|
EntityInfo |
clone() |
boolean |
equals(Object obj) |
String |
getArn() |
String |
getId()
The identifier of the entity (user or role).
|
String |
getName()
The name of the entity (user or role).
|
String |
getPath()
The path to the entity (user or role).
|
String |
getType()
The type of entity (user or role).
|
int |
hashCode() |
void |
setArn(String arn) |
void |
setId(String id)
The identifier of the entity (user or role).
|
void |
setName(String name)
The name of the entity (user or role).
|
void |
setPath(String path)
The path to the entity (user or role).
|
void |
setType(String type)
The type of entity (user or role).
|
String |
toString()
Returns a string representation of this object.
|
EntityInfo |
withArn(String arn) |
EntityInfo |
withId(String id)
The identifier of the entity (user or role).
|
EntityInfo |
withName(String name)
The name of the entity (user or role).
|
EntityInfo |
withPath(String path)
The path to the entity (user or role).
|
EntityInfo |
withType(PolicyOwnerEntityType type)
The type of entity (user or role).
|
EntityInfo |
withType(String type)
The type of entity (user or role).
|
public void setArn(String arn)
arn
- public String getArn()
public EntityInfo withArn(String arn)
arn
- public void setName(String name)
The name of the entity (user or role).
name
- The name of the entity (user or role).public String getName()
The name of the entity (user or role).
public EntityInfo withName(String name)
The name of the entity (user or role).
name
- The name of the entity (user or role).public void setType(String type)
The type of entity (user or role).
type
- The type of entity (user or role).PolicyOwnerEntityType
public String getType()
The type of entity (user or role).
PolicyOwnerEntityType
public EntityInfo withType(String type)
The type of entity (user or role).
type
- The type of entity (user or role).PolicyOwnerEntityType
public EntityInfo withType(PolicyOwnerEntityType type)
The type of entity (user or role).
type
- The type of entity (user or role).PolicyOwnerEntityType
public void setId(String id)
The identifier of the entity (user or role).
id
- The identifier of the entity (user or role).public String getId()
The identifier of the entity (user or role).
public EntityInfo withId(String id)
The identifier of the entity (user or role).
id
- The identifier of the entity (user or role).public void setPath(String path)
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the entity (user or role). For more information about paths, see IAM identifiers in the
IAM User Guide.public String getPath()
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
public EntityInfo withPath(String path)
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the entity (user or role). For more information about paths, see IAM identifiers in the
IAM User Guide.public String toString()
toString
in class Object
Object.toString()
public EntityInfo clone()