org.jclouds.vcloud.director.v1_5.domain
Class Entity
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.Resource
org.jclouds.vcloud.director.v1_5.domain.Entity
- Direct Known Subclasses:
- Catalog, CatalogItem, File, Group, Network, Org, ResourceEntity, Task, User, Vdc
public class Entity
- extends Resource
Basic entity type in the vCloud object model.
Includes the entity name and an optional id, description, and set of running Tasks.
<xs:complexType name="EntityType" />
- Author:
- grkvlt@apache.org, Adam Lowe
| Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource |
logger |
Entity
protected Entity(Entity.Builder<?> builder)
Entity
protected Entity()
builder
public static Entity.Builder<?> builder()
toBuilder
public Entity.Builder<?> toBuilder()
- Overrides:
toBuilder in class Resource
getDescription
public String getDescription()
- Optional description.
setDescription
public void setDescription(String description)
getTasks
public List<Task> getTasks()
- A list of queued, running, or recently completed tasks associated with this entity.
getId
public String getId()
- The resource identifier, expressed in URN format.
The value of this attribute uniquely identifies the resource, persists for the life of the
resource, and is never reused.
getName
public String getName()
- Contains the name of the the entity.
setName
public void setName(String name)
equals
public boolean equals(Object o)
- Overrides:
equals in class Resource
clone
public boolean clone(Object o)
- Overrides:
clone in class Resource
hashCode
public int hashCode()
- Overrides:
hashCode in class Resource
string
public com.google.common.base.Objects.ToStringHelper string()
- Overrides:
string in class Resource
Copyright © 2009-2012 jclouds. All Rights Reserved.