Class Instance
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.Instance
-
public abstract class Instance extends Object
Represents a virtual machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstance.AttachedDiskstatic classInstance.NetworkInterfacestatic classInstance.SchedulingDefines the maintenance behavior for this instance.static classInstance.SerialPortOutputstatic classInstance.ServiceAccountA service account for which access tokens are to be made available to the instance through metadata queries.static classInstance.Status
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BooleancanIpForward()static Instancecreate(String id, Date creationTimestamp, URI selfLink, String name, String description, Tags tags, URI machineType, Instance.Status status, String statusMessage, URI zone, Boolean canIpForward, List<Instance.NetworkInterface> networkInterfaces, List<Instance.AttachedDisk> disks, Metadata metadata, List<Instance.ServiceAccount> serviceAccounts, Instance.Scheduling scheduling)abstract DatecreationTimestamp()abstract Stringdescription()abstract List<Instance.AttachedDisk>disks()abstract Stringid()abstract URImachineType()abstract Metadatametadata()abstract Stringname()abstract List<Instance.NetworkInterface>networkInterfaces()abstract Instance.Schedulingscheduling()abstract URIselfLink()abstract List<Instance.ServiceAccount>serviceAccounts()abstract Instance.Statusstatus()abstract StringstatusMessage()Human-readable explanation of the status.abstract Tagstags()abstract URIzone()URL of the zone resource describing where this instance should be hosted; provided by the client when the instance is created.
-
-
-
Method Detail
-
id
public abstract String id()
-
selfLink
public abstract URI selfLink()
-
name
public abstract String name()
-
tags
public abstract Tags tags()
-
machineType
public abstract URI machineType()
-
status
@Nullable public abstract Instance.Status status()
-
statusMessage
@Nullable public abstract String statusMessage()
Human-readable explanation of the status.
-
zone
public abstract URI zone()
URL of the zone resource describing where this instance should be hosted; provided by the client when the instance is created.
-
networkInterfaces
public abstract List<Instance.NetworkInterface> networkInterfaces()
-
disks
public abstract List<Instance.AttachedDisk> disks()
-
metadata
public abstract Metadata metadata()
-
serviceAccounts
public abstract List<Instance.ServiceAccount> serviceAccounts()
-
scheduling
public abstract Instance.Scheduling scheduling()
-
create
public static Instance create(String id, Date creationTimestamp, URI selfLink, String name, String description, Tags tags, URI machineType, Instance.Status status, String statusMessage, URI zone, Boolean canIpForward, List<Instance.NetworkInterface> networkInterfaces, List<Instance.AttachedDisk> disks, Metadata metadata, List<Instance.ServiceAccount> serviceAccounts, Instance.Scheduling scheduling)
-
-