Package org.jclouds.cloudstack.domain
Class TemplateExtraction
java.lang.Object
org.jclouds.cloudstack.domain.TemplateExtraction
- All Implemented Interfaces:
Comparable<TemplateExtraction>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemplateExtraction
@ConstructorProperties({"id","accountid","created","extractId","extractMode","name","state","status","storagetype","uploadpercentage","url","zoneid","zonename"}) protected TemplateExtraction(String id, @Nullable String accountId, @Nullable Date created, @Nullable String extractId, @Nullable ExtractMode extractMode, @Nullable String name, @Nullable String state, @Nullable String status, @Nullable String storageType, int uploadPercentage, @Nullable String url, @Nullable String zoneId, @Nullable String zoneName)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the id of extracted object
-
getAccountId
- Returns:
- the account id to which the extracted object belongs
-
getCreated
- Returns:
- the time and date the object was created
-
getExtractId
- Returns:
- the upload id of extracted object
-
getExtractMode
- Returns:
- the mode of extraction - upload or download
-
getName
- Returns:
- the name of the extracted object
-
getState
- Returns:
- the state of the extracted object
-
getStatus
- Returns:
- the status of the extraction
-
getStorageType
- Returns:
- type of the storage
-
getUploadPercentage
public int getUploadPercentage()- Returns:
- the percentage of the entity uploaded to the specified location
-
getUrl
- Returns:
- if mode = upload then url of the uploaded entity. if mode = download the url from which the entity can be downloaded
-
getZoneId
- Returns:
- zone ID the object was extracted from
-
getZoneName
- Returns:
- zone name the object was extracted from
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TemplateExtraction>
-