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 class
Instance.AttachedDisk
static class
Instance.NetworkInterface
static class
Instance.Scheduling
Defines the maintenance behavior for this instance.static class
Instance.SerialPortOutput
static class
Instance.ServiceAccount
A service account for which access tokens are to be made available to the instance through metadata queries.static class
Instance.Status
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Boolean
canIpForward()
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)
abstract Date
creationTimestamp()
abstract String
description()
abstract List<Instance.AttachedDisk>
disks()
abstract String
id()
abstract URI
machineType()
abstract Metadata
metadata()
abstract String
name()
abstract List<Instance.NetworkInterface>
networkInterfaces()
abstract Instance.Scheduling
scheduling()
abstract URI
selfLink()
abstract List<Instance.ServiceAccount>
serviceAccounts()
abstract Instance.Status
status()
abstract String
statusMessage()
Human-readable explanation of the status.abstract Tags
tags()
abstract URI
zone()
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)
-
-