Package org.jclouds.compute
Class ComputeServiceAdapter.NodeAndInitialCredentials<N>
- java.lang.Object
-
- 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
Constructors Constructor Description NodeAndInitialCredentials(N node, String nodeId, LoginCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginCredentials
getCredentials()
N
getNode()
String
getNodeId()
-
-
-
Constructor Detail
-
NodeAndInitialCredentials
public 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:
- Stringified 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
-
-