@Beta public class Instance extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.AttachedDisk
A disk attached to an Instance.
|
static class |
Instance.Builder |
static class |
Instance.NetworkInterface
A network interface for an Instance.
|
static class |
Instance.PersistentAttachedDisk |
static class |
Instance.SerialPortOutput
The output of an instance's serial port;
|
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 |
static class |
Instance.Tags
Tags for an instance, with their fingerprint.
|
Resource.Kind| Modifier and Type | Field and Description |
|---|---|
protected Set<Instance.AttachedDisk> |
disks |
protected URI |
machineType |
protected Metadata |
metadata |
protected Set<Instance.NetworkInterface> |
networkInterfaces |
protected Set<Instance.ServiceAccount> |
serviceAccounts |
protected Instance.Status |
status |
protected com.google.common.base.Optional<String> |
statusMessage |
protected Instance.Tags |
tags |
protected URI |
zone |
creationTimestamp, description, id, kind, name, selfLink| Modifier | Constructor and Description |
|---|---|
protected |
Instance(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
Instance.Tags tags,
URI machineType,
Instance.Status status,
String statusMessage,
URI zone,
Set<Instance.NetworkInterface> networkInterfaces,
Set<Instance.AttachedDisk> disks,
Metadata metadata,
Set<Instance.ServiceAccount> serviceAccounts) |
| Modifier and Type | Method and Description |
|---|---|
static Instance.Builder |
builder() |
boolean |
equals(Object obj) |
Set<Instance.AttachedDisk> |
getDisks() |
URI |
getMachineType() |
Metadata |
getMetadata() |
Set<Instance.NetworkInterface> |
getNetworkInterfaces() |
Set<Instance.ServiceAccount> |
getServiceAccounts() |
Instance.Status |
getStatus() |
com.google.common.base.Optional<String> |
getStatusMessage() |
Instance.Tags |
getTags()
Used to identify valid sources or targets for network firewalls.
|
URI |
getZone() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Instance.Builder |
toBuilder() |
String |
toString() |
getCreationTimestamp, getDescription, getId, getKind, getName, getSelfLink, hashCodeprotected final Instance.Tags tags
protected final URI machineType
protected final Instance.Status status
protected final com.google.common.base.Optional<String> statusMessage
protected final URI zone
protected final Set<Instance.NetworkInterface> networkInterfaces
protected final Set<Instance.AttachedDisk> disks
protected final Metadata metadata
protected final Set<Instance.ServiceAccount> serviceAccounts
protected Instance(String id, Date creationTimestamp, URI selfLink, String name, String description, Instance.Tags tags, URI machineType, Instance.Status status, String statusMessage, URI zone, Set<Instance.NetworkInterface> networkInterfaces, Set<Instance.AttachedDisk> disks, Metadata metadata, Set<Instance.ServiceAccount> serviceAccounts)
public Instance.Tags getTags()
public URI getMachineType()
public Instance.Status getStatus()
@Nullable public com.google.common.base.Optional<String> getStatusMessage()
public URI getZone()
public Set<Instance.NetworkInterface> getNetworkInterfaces()
Instance.NetworkInterfacepublic Set<Instance.AttachedDisk> getDisks()
Instance.AttachedDiskpublic Metadata getMetadata()
public Set<Instance.ServiceAccount> getServiceAccounts()
Instance.ServiceAccountprotected com.google.common.base.Objects.ToStringHelper string()
public static Instance.Builder builder()
public Instance.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.