@BetaApi
  public final MachineType getMachineType(String machineType) {

    GetMachineTypeHttpRequest request =
        GetMachineTypeHttpRequest.newBuilder().setMachineType(machineType).build();
    return getMachineType(request);
  }
@ BetaApi public final MachineType getMachineType ( String machineType ) { GetMachineTypeHttpRequest request = GetMachineTypeHttpRequest . newBuilder ( ) . setMachineType ( machineType ) . build ( ) ; return getMachineType ( request ) ; }
Returns the specified machine type. Gets a list of available machine types by making a list()
request.

<p>Sample code:

<pre><code>
try (MachineTypeClient machineTypeClient = MachineTypeClient.create()) {
ProjectZoneMachineTypeName machineType = ProjectZoneMachineTypeName.of("[PROJECT]", "[ZONE]", "[MACHINE_TYPE]");
MachineType response = machineTypeClient.getMachineType(machineType.toString());
}
</code></pre>

@param machineType Name of the machine type to return.
@throws com.google.api.gax.rpc.ApiException if the remote call fails