Class TemplatePermission

java.lang.Object
org.jclouds.cloudstack.domain.TemplatePermission

public class TemplatePermission extends Object
  • Constructor Details

  • Method Details

    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object