org.jclouds.compute
Class ComputeServiceAdapter.NodeAndInitialCredentials<N>

java.lang.Object
  extended by org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N>
Direct Known Subclasses:
JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials
Enclosing interface:
ComputeServiceAdapter<N,H,I,L>

public static class ComputeServiceAdapter.NodeAndInitialCredentials<N>
extends Object


Constructor Summary
ComputeServiceAdapter.NodeAndInitialCredentials(N node, String nodeId, LoginCredentials credentials)
           
 
Method Summary
 LoginCredentials getCredentials()
           
 N getNode()
           
 String getNodeId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeServiceAdapter.NodeAndInitialCredentials

public ComputeServiceAdapter.NodeAndInitialCredentials(N node,
                                                       String nodeId,
                                                       @Nullable
                                                       LoginCredentials credentials)
Method Detail

getNode

public N getNode()
Returns:
cloud specific representation of the newly created node

getNodeId

public String getNodeId()
Returns:
Stringifed version of the new node's id.

getCredentials

@Nullable
public LoginCredentials getCredentials()
Returns:
credentials given by the api for the node, or null if this information is not available


Copyright © 2009-2012 jclouds. All Rights Reserved.