org.jclouds.googlecomputeengine.domain
Class Project

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

@Beta
public class Project
extends Resource

A Project resource is the root collection and settings resource for all Google Compute Engine resources.

See Also:

Nested Class Summary
static class Project.Builder
           
 
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
 
Constructor Summary
protected Project(String id, Date creationTimestamp, URI selfLink, String name, String description, Metadata commonInstanceMetadata, Set<Quota> quotas, Set<String> externalIpAddresses)
           
 
Method Summary
static Project.Builder builder()
           
 Metadata getCommonInstanceMetadata()
           
 Set<String> getExternalIpAddresses()
           
 Set<Quota> getQuotas()
           
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Project.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
 

Constructor Detail

Project

protected Project(String id,
                  Date creationTimestamp,
                  URI selfLink,
                  String name,
                  String description,
                  Metadata commonInstanceMetadata,
                  Set<Quota> quotas,
                  Set<String> externalIpAddresses)
Method Detail

getCommonInstanceMetadata

public Metadata getCommonInstanceMetadata()
Returns:
metadata key/value pairs available to all instances contained in this project.

getQuotas

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

getExternalIpAddresses

@Nullable
public Set<String> getExternalIpAddresses()
Returns:
internet available IP addresses available for use in 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 Project.Builder builder()

toBuilder

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


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