org.jclouds.cloudstack.domain
Class TemplatePermission
java.lang.Object
org.jclouds.cloudstack.domain.TemplatePermission
public class TemplatePermission
- extends Object
- Author:
- Richard Downer
TemplatePermission
@ConstructorProperties(value={"id","account","domainid","ispublic"})
protected TemplatePermission(String id,
@Nullable
String account,
@Nullable
String domainId,
boolean isPublic)
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
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2013 jclouds. All Rights Reserved.