public final class InstanceToNodeMetadata extends Object implements com.google.common.base.Function<Instance,NodeMetadata>
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Instance input) |
static boolean |
isCustomMachineTypeURI(URI machineType) |
static Hardware |
machineTypeURIToCustomHardware(URI machineType) |
public NodeMetadata apply(Instance input)
apply
in interface com.google.common.base.Function<Instance,NodeMetadata>
public static boolean isCustomMachineTypeURI(URI machineType)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.