org.jclouds.googlecomputeengine.domain
Class Zone
java.lang.Object
org.jclouds.googlecomputeengine.domain.Resource
org.jclouds.googlecomputeengine.domain.Zone
@Beta
public final class Zone
- extends Resource
Represents a zone resource.
- Author:
- David Alves
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource |
Resource.Kind |
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.