org.jclouds.cloudstack.domain
Class Capabilities

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

public class Capabilities
extends Object

Author:
Adrian Cole

Nested Class Summary
static class Capabilities.Builder
           
 
Constructor Summary
Capabilities(String cloudStackVersion, boolean securityGroupsEnabled, boolean canShareTemplates, boolean firewallRuleUiEnabled, boolean supportELB)
           
 
Method Summary
static Capabilities.Builder builder()
           
 boolean equals(Object obj)
           
 String getCloudStackVersion()
           
 int hashCode()
           
 boolean isFirewallRuleUiEnabled()
           
 boolean isSecurityGroupsEnabled()
           
 boolean isSharedTemplatesEnabled()
           
 boolean isSupportELB()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capabilities

public Capabilities(String cloudStackVersion,
                    boolean securityGroupsEnabled,
                    boolean canShareTemplates,
                    boolean firewallRuleUiEnabled,
                    boolean supportELB)
Method Detail

builder

public static Capabilities.Builder builder()

getCloudStackVersion

public String getCloudStackVersion()
Returns:
version of the cloud stack

isSecurityGroupsEnabled

public boolean isSecurityGroupsEnabled()
Returns:
true if security groups support is enabled, false otherwise

isSharedTemplatesEnabled

public boolean isSharedTemplatesEnabled()
Returns:
true if user and domain admins can set templates to be shared, false otherwise

isFirewallRuleUiEnabled

public boolean isFirewallRuleUiEnabled()
Returns:
true if the firewall rule UI is enabled

isSupportELB

public boolean isSupportELB()
Returns:
true if region supports elastic load balancer on basic zones

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.