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 class
TemplatePermission.Builder<T extends TemplatePermission.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
TemplatePermission(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()
boolean
equals(Object obj)
String
getAccount()
Gets the list of accounts the template is available forString
getDomainId()
Gets the ID of the domain to which the template belongsString
getId()
Gets the template IDint
hashCode()
boolean
isPublic()
Returns true if this template is a public template, false otherwiseprotected com.google.common.base.MoreObjects.ToStringHelper
string()
TemplatePermission.Builder<?>
toBuilder()
String
toString()
-
-
-
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()
-
-