@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEntityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeEntityResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeEntityResult |
clone() |
boolean |
equals(Object obj) |
String |
getEntityId()
The entity ID under which the entity exists.
|
String |
getName()
Username, GroupName, or ResourceName based on entity type.
|
String |
getType()
Entity type.
|
int |
hashCode() |
void |
setEntityId(String entityId)
The entity ID under which the entity exists.
|
void |
setName(String name)
Username, GroupName, or ResourceName based on entity type.
|
void |
setType(String type)
Entity type.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEntityResult |
withEntityId(String entityId)
The entity ID under which the entity exists.
|
DescribeEntityResult |
withName(String name)
Username, GroupName, or ResourceName based on entity type.
|
DescribeEntityResult |
withType(EntityType type)
Entity type.
|
DescribeEntityResult |
withType(String type)
Entity type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setEntityId(String entityId)
The entity ID under which the entity exists.
entityId - The entity ID under which the entity exists.public String getEntityId()
The entity ID under which the entity exists.
public DescribeEntityResult withEntityId(String entityId)
The entity ID under which the entity exists.
entityId - The entity ID under which the entity exists.public void setName(String name)
Username, GroupName, or ResourceName based on entity type.
name - Username, GroupName, or ResourceName based on entity type.public String getName()
Username, GroupName, or ResourceName based on entity type.
public DescribeEntityResult withName(String name)
Username, GroupName, or ResourceName based on entity type.
name - Username, GroupName, or ResourceName based on entity type.public void setType(String type)
Entity type.
type - Entity type.EntityTypepublic String getType()
Entity type.
EntityTypepublic DescribeEntityResult withType(String type)
Entity type.
type - Entity type.EntityTypepublic DescribeEntityResult withType(EntityType type)
Entity type.
type - Entity type.EntityTypepublic String toString()
toString in class ObjectObject.toString()public DescribeEntityResult clone()