org.jclouds.cloudstack.domain
Class ISOPermissions

java.lang.Object
  extended by org.jclouds.cloudstack.domain.ISOPermissions

public class ISOPermissions
extends Object

Class ISOPermissions

Author:
Richard Downer

Nested Class Summary
static class ISOPermissions.Builder<T extends ISOPermissions.Builder<T>>
           
 
Constructor Summary
protected ISOPermissions(String id, Set<String> accounts, String domainId, boolean isPublic)
           
 
Method Summary
static ISOPermissions.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Set<String> getAccounts()
           
 String getDomainId()
           
 String getId()
           
 int hashCode()
           
 boolean isPublic()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ISOPermissions.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOPermissions

@ConstructorProperties(value={"id","account","domainid","ispublic"})
protected ISOPermissions(String id,
                                                    @Nullable
                                                    Set<String> accounts,
                                                    @Nullable
                                                    String domainId,
                                                    boolean isPublic)
Method Detail

builder

public static ISOPermissions.Builder<?> builder()

toBuilder

public ISOPermissions.Builder<?> toBuilder()

getId

public String getId()
Returns:
the template ID

getAccounts

public Set<String> getAccounts()
Returns:
the list of accounts the template is available for

getDomainId

@Nullable
public String getDomainId()
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

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-2012 jclouds. All Rights Reserved.