public class TemplatePermission extends Object implements Comparable<TemplatePermission>
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplatePermission.Builder |
| Constructor and Description |
|---|
TemplatePermission(long id,
String account,
long domainId,
boolean isPublic)
Construct a new TemplatePermission instance.
|
| Modifier and Type | Method and Description |
|---|---|
static TemplatePermission.Builder |
builder() |
int |
compareTo(TemplatePermission other) |
boolean |
equals(Object o) |
String |
getAccount()
Gets the list of accounts the template is available for
|
long |
getDomainId()
Gets the ID of the domain to which the template belongs
|
long |
getId()
Gets the template ID
|
int |
hashCode() |
boolean |
isPublic()
Returns true if this template is a public template, false otherwise
|
String |
toString() |
public TemplatePermission(long id,
String account,
long domainId,
boolean isPublic)
id - the template IDaccount - the list of accounts the template is available fordomainId - the ID of the domain to which the template belongsisPublic - true if this template is a public template, false otherwisepublic static TemplatePermission.Builder builder()
public long getId()
public String getAccount()
public long getDomainId()
public boolean isPublic()
public int compareTo(TemplatePermission other)
compareTo in interface Comparable<TemplatePermission>Copyright © 2009-2012 jclouds. All Rights Reserved.