public abstract class NewInstance extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NewInstance.Builder |
Modifier and Type | Method and Description |
---|---|
abstract Boolean |
canIpForward() |
static NewInstance |
create(String name,
URI machineType,
URI network,
List<AttachDisk> disks,
String description,
Tags tags) |
static NewInstance |
create(String name,
URI machineType,
URI network,
URI sourceImage)
Convenience for creating a new instance with only a boot disk and minimal parameters.
|
abstract String |
description() |
abstract List<AttachDisk> |
disks() |
abstract URI |
machineType() |
abstract Metadata |
metadata()
Add metadata via
Metadata.items() . |
abstract String |
name() |
abstract List<org.jclouds.googlecomputeengine.domain.NewInstance.NetworkInterface> |
networkInterfaces() |
abstract Instance.Scheduling |
scheduling() |
abstract List<Instance.ServiceAccount> |
serviceAccounts() |
abstract Tags |
tags() |
public abstract String name()
public abstract URI machineType()
public abstract List<org.jclouds.googlecomputeengine.domain.NewInstance.NetworkInterface> networkInterfaces()
public abstract List<AttachDisk> disks()
public abstract Tags tags()
public abstract Metadata metadata()
Metadata.items()
.@Nullable public abstract List<Instance.ServiceAccount> serviceAccounts()
@Nullable public abstract Instance.Scheduling scheduling()
public static NewInstance create(String name, URI machineType, URI network, URI sourceImage)
public static NewInstance create(String name, URI machineType, URI network, List<AttachDisk> disks, @Nullable String description, @Nullable Tags tags)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.