org.jclouds.cloudloadbalancers.domain
Enum LoadBalancer.Status

java.lang.Object
  extended by java.lang.Enum<LoadBalancer.Status>
      extended by org.jclouds.cloudloadbalancers.domain.LoadBalancer.Status
All Implemented Interfaces:
Serializable, Comparable<LoadBalancer.Status>
Enclosing class:
LoadBalancer

public static enum LoadBalancer.Status
extends Enum<LoadBalancer.Status>

All load balancers also have a status attribute to signify the current configuration status of the device. This status is immutable by the caller and is updated automatically based on state changes within the service. When a load balancer is first created, it will be placed into a BUILD status while the configuration is being generated and applied based on the request. Once the configuration is applied and finalized, it will be in an ACTIVE status. In the event of a configuration change or update, the status of the load balancer will change to PENDING_UPDATE to signify configuration changes are in progress but have not yet been finalized. Load balancers in a SUSPENDED status are configured to reject traffic and will not forward requests to back-end nodess.


Enum Constant Summary
ACTIVE
          Load balancer is configured properly and ready to serve traffic to incoming requests via the configured virtual IPs.
BUILD
          Load balancer is being provisioned for the first time and configuration is being applied to bring the service online.
DELETED
          Load balancers in DELETED status can be displayed for at least 90 days after deletion.
ERROR
          The system encountered an error when attempting to configure the load balancer; contact Support.
PENDING_DELETE
          Load balancer is online but configuration changes are being applied to begin deletion of the service based on a previous request.
PENDING_UPDATE
          Load balancer is online but configuration changes are being applied to update the service based on a previous request.
SUSPENDED
          Load balancer has been taken offline and disabled; contact Support.
UNRECOGNIZED
           
 
Method Summary
static LoadBalancer.Status fromValue(String status)
           
static LoadBalancer.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LoadBalancer.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUILD

public static final LoadBalancer.Status BUILD
Load balancer is being provisioned for the first time and configuration is being applied to bring the service online. The service will not yet be ready to serve incoming requests.


ACTIVE

public static final LoadBalancer.Status ACTIVE
Load balancer is configured properly and ready to serve traffic to incoming requests via the configured virtual IPs.


PENDING_UPDATE

public static final LoadBalancer.Status PENDING_UPDATE
Load balancer is online but configuration changes are being applied to update the service based on a previous request.


SUSPENDED

public static final LoadBalancer.Status SUSPENDED
Load balancer has been taken offline and disabled; contact Support.


PENDING_DELETE

public static final LoadBalancer.Status PENDING_DELETE
Load balancer is online but configuration changes are being applied to begin deletion of the service based on a previous request.


DELETED

public static final LoadBalancer.Status DELETED
Load balancers in DELETED status can be displayed for at least 90 days after deletion.


ERROR

public static final LoadBalancer.Status ERROR
The system encountered an error when attempting to configure the load balancer; contact Support.


UNRECOGNIZED

public static final LoadBalancer.Status UNRECOGNIZED
Method Detail

values

public static LoadBalancer.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LoadBalancer.Status c : LoadBalancer.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LoadBalancer.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromValue

public static LoadBalancer.Status fromValue(String status)


Copyright © 2009-2012 jclouds. All Rights Reserved.