Package org.jclouds.cloudstack.domain
Class TemplatePermission
java.lang.Object
org.jclouds.cloudstack.domain.TemplatePermission
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTemplatePermission(String id, String account, String domainId, boolean isPublic) -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplatePermission.Builder<?> builder()booleanGets the list of accounts the template is available forGets the ID of the domain to which the template belongsgetId()Gets the template IDinthashCode()booleanisPublic()Returns true if this template is a public template, false otherwiseprotected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
TemplatePermission
-
-
Method Details
-
builder
-
toBuilder
-
getId
Gets the template ID- Returns:
- the template ID
-
getAccount
Gets the list of accounts the template is available for- Returns:
- the list of accounts the template is available for
-
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
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-