public abstract class Instance extends Object
Modifier and Type | Class and 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 |
Modifier and Type | Method and 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.
|
public abstract String id()
public abstract URI selfLink()
public abstract String name()
public abstract Tags tags()
public abstract URI machineType()
@Nullable public abstract Instance.Status status()
@Nullable public abstract String statusMessage()
public abstract URI zone()
public abstract List<Instance.NetworkInterface> networkInterfaces()
public abstract List<Instance.AttachedDisk> disks()
public abstract Metadata metadata()
public abstract List<Instance.ServiceAccount> serviceAccounts()
public abstract Instance.Scheduling scheduling()
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)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.