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
ConstructorsModifierConstructorDescriptionprotected
TemplatePermission
(String id, String account, String domainId, boolean isPublic) -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplatePermission.Builder
<?> builder()
boolean
Gets the list of accounts the template is available forGets the ID of the domain to which the template belongsgetId()
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()
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
-