org.jclouds.googlecomputeengine.domain
Class Instance.NetworkInterface

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Instance.NetworkInterface
Enclosing class:
Instance

public static final class Instance.NetworkInterface
extends Object

A network interface for an Instance.

See Also:

Nested Class Summary
static class Instance.NetworkInterface.AccessConfig
          Access configuration to an instance's network.
static class Instance.NetworkInterface.Builder
           
 
Method Summary
static Instance.NetworkInterface.Builder builder()
           
 boolean equals(Object obj)
          
 Set<Instance.NetworkInterface.AccessConfig> getAccessConfigs()
           
 String getName()
           
 URI getNetwork()
           
 com.google.common.base.Optional<String> getNetworkIP()
           
 int hashCode()
          
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Instance.NetworkInterface.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns:
the name of the network interface

getNetwork

public URI getNetwork()
Returns:
URL of the network resource attached to this interface.

getNetworkIP

public com.google.common.base.Optional<String> getNetworkIP()
Returns:
An IPV4 internal network address to assign to this instance.

getAccessConfigs

public Set<Instance.NetworkInterface.AccessConfig> getAccessConfigs()
Returns:
array of access configurations for this interface.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

string

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


toString

public String toString()

Overrides:
toString in class Object

builder

public static Instance.NetworkInterface.Builder builder()

toBuilder

public Instance.NetworkInterface.Builder toBuilder()


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