Package org.jclouds.cloudstack.domain
Class TemplatePermission
- java.lang.Object
-
- org.jclouds.cloudstack.domain.TemplatePermission
-
public class TemplatePermission extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplatePermission.Builder<T extends TemplatePermission.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedTemplatePermission(String id, String account, String domainId, boolean isPublic)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplatePermission.Builder<?>builder()booleanequals(Object obj)StringgetAccount()Gets the list of accounts the template is available forStringgetDomainId()Gets the ID of the domain to which the template belongsStringgetId()Gets the template IDinthashCode()booleanisPublic()Returns true if this template is a public template, false otherwiseprotected com.google.common.base.MoreObjects.ToStringHelperstring()TemplatePermission.Builder<?>toBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static TemplatePermission.Builder<?> builder()
-
toBuilder
public TemplatePermission.Builder<?> toBuilder()
-
getId
public String getId()
Gets the template ID- Returns:
- the template ID
-
getAccount
@Nullable public String getAccount()
Gets the list of accounts the template is available for- Returns:
- the list of accounts the template is available for
-
getDomainId
@Nullable public String getDomainId()
Gets the ID of the domain to which the template belongs- Returns:
- the ID of the domain to which the template belongs
-
isPublic
public boolean isPublic()
Returns true if this template is a public template, false otherwise- Returns:
- true if this template is a public template, false otherwise
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-