org.jclouds.googlecomputeengine.domain
Class Region

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

@Beta
public final class Region
extends Resource

Represents a region resource.

Author:
David Alves
See Also:

Nested Class Summary
static class Region.Builder
           
static class Region.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 Region.Builder builder()
           
 Set<Quota> getQuotas()
           
 Region.Status getStatus()
           
 Set<URI> getZones()
           
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Region.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 Region.Status getStatus()
Returns:
Status of the region. "UP" or "DOWN".

getZones

@Nullable
public Set<URI> getZones()
Returns:
the zones that can be used in this region.

getQuotas

public Set<Quota> getQuotas()
Returns:
quotas assigned to this project.

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 Region.Builder builder()

toBuilder

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


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