org.jclouds.googlecomputeengine.domain
Class Zone

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Resource
      extended by org.jclouds.googlecomputeengine.domain.Zone

@Beta
public final class Zone
extends Resource

Represents a zone resource.

Author:
David Alves
See Also:

Nested Class Summary
static class Zone.Builder
           
static class Zone.MaintenanceWindow
          Scheduled maintenance windows for the zone.
static class Zone.Status
           
 
Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource
Resource.Kind
 
Field Summary
 
Fields inherited from class org.jclouds.googlecomputeengine.domain.Resource
creationTimestamp, description, id, kind, name, selfLink
 
Method Summary
static Zone.Builder builder()
           
 Set<String> getAvailableMachineTypes()
           
 Set<Zone.MaintenanceWindow> getMaintenanceWindows()
           
 Zone.Status getStatus()
           
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Zone.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class org.jclouds.googlecomputeengine.domain.Resource
equals, getCreationTimestamp, getDescription, getId, getKind, getName, getSelfLink, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getStatus

public Zone.Status getStatus()
Returns:
Status of the zone. "UP" or "DOWN".

getMaintenanceWindows

public Set<Zone.MaintenanceWindow> getMaintenanceWindows()
Returns:
scheduled maintenance windows for the zone. When the zone is in a maintenance window, all resources which reside in the zone will be unavailable.

getAvailableMachineTypes

@Nullable
public Set<String> getAvailableMachineTypes()
Returns:
the machine types that can be used in this zone.

string

protected com.google.common.base.Objects.ToStringHelper string()

Overrides:
string in class Resource

toString

public String toString()

Overrides:
toString in class Resource

builder

public static Zone.Builder builder()

toBuilder

public Zone.Builder toBuilder()
Overrides:
toBuilder in class Resource


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.