public class Image extends RateLimitBase
Constructor and Description |
---|
Image() |
Image(Integer id) |
Image(String slug) |
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedDate() |
String |
getDistribution() |
Integer |
getId() |
Integer |
getMinDiskSize() |
String |
getName() |
List<String> |
getRegions() |
String |
getSlug() |
ImageType |
getType() |
boolean |
isAvailablePublic() |
boolean |
isBackup() |
boolean |
isSnapshot() |
boolean |
isTemporary() |
void |
setAvailablePublic(boolean availablePublic) |
void |
setCreatedDate(Date createdDate) |
void |
setDistribution(String distribution) |
void |
setId(Integer id) |
void |
setMinDiskSize(Integer minDiskSize) |
void |
setName(String name) |
void |
setRegions(List<String> regions) |
void |
setSlug(String slug) |
void |
setType(ImageType type) |
String |
toString() |
getRateLimit, setRateLimit
public Image()
public Image(Integer id)
public Image(String slug)
public String toString()
toString
in class RateLimitBase
public boolean isSnapshot()
public boolean isBackup()
public boolean isTemporary()
public Integer getId()
public void setId(Integer id)
id
- the id to setpublic String getName()
public void setName(String name)
name
- the name to setpublic String getDistribution()
public void setDistribution(String distribution)
distribution
- the distribution to setpublic String getSlug()
public void setSlug(String slug)
slug
- the slug to setpublic boolean isAvailablePublic()
public void setAvailablePublic(boolean availablePublic)
availablePublic
- the availablePublic to setpublic Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- the createdDate to setpublic ImageType getType()
public void setType(ImageType type)
type
- the type to setpublic Integer getMinDiskSize()
public void setMinDiskSize(Integer minDiskSize)
minDiskSize
- the minDiskSize to set
The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons – Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Libraries and code snippets on myjeeva blog has license information.