@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, setSdkResponseMetadata
public 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.EntityType
public String getType()
Entity type.
EntityType
public DescribeEntityResult withType(String type)
Entity type.
type
- Entity type.EntityType
public DescribeEntityResult withType(EntityType type)
Entity type.
type
- Entity type.EntityType
public String toString()
toString
in class Object
Object.toString()
public DescribeEntityResult clone()