org.jclouds.cloudstack.domain
Class Capabilities

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

public class Capabilities
extends Object

Class Capabilities

Author:
Adrian Cole

Nested Class Summary
static class Capabilities.Builder<T extends Capabilities.Builder<T>>
           
 
Constructor Summary
protected Capabilities(String cloudStackVersion, boolean securityGroupsEnabled, boolean canShareTemplates, boolean firewallRuleUiEnabled, boolean supportELB)
           
 
Method Summary
static Capabilities.Builder<?> builder()
           
 boolean canShareTemplates()
           
 boolean equals(Object obj)
           
 String getCloudStackVersion()
           
 int hashCode()
           
 boolean isFirewallRuleUiEnabled()
           
 boolean isSecurityGroupsEnabled()
           
 boolean isSupportELB()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Capabilities.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capabilities

@ConstructorProperties(value={"cloudstackversion","securitygroupsenabled","userpublictemplateenabled","firewallRuleUiEnabled","supportELB"})
protected Capabilities(@Nullable
                                                  String cloudStackVersion,
                                                  boolean securityGroupsEnabled,
                                                  boolean canShareTemplates,
                                                  boolean firewallRuleUiEnabled,
                                                  boolean supportELB)
Method Detail

builder

public static Capabilities.Builder<?> builder()

toBuilder

public Capabilities.Builder<?> toBuilder()

getCloudStackVersion

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

isSecurityGroupsEnabled

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

canShareTemplates

public boolean canShareTemplates()

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

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.