| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.Builder
A builder for
Instance objects. |
static class |
InstanceInfo.BuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
abstract InstanceInfo.Builder |
InstanceInfo.Builder.attachedDisks(AttachedDisk... attachedDisks)
Sets a list of disks to attach to the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.attachedDisks(AttachedDisk... attachedDisks) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.attachedDisks(List<AttachedDisk> attachedDisks)
Sets a list of disks to attach to the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.attachedDisks(List<AttachedDisk> attachedDisks) |
static InstanceInfo.Builder |
InstanceInfo.builder(InstanceId instanceId,
MachineTypeId machineType)
Returns a builder for an
InstanceInfo object given the instance identity and the
machine type. |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.canIpForward(Boolean canIpForward)
Sets whether to allow this instance to send and receive packets with non-matching destination
or source IPs.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.canIpForward(Boolean canIpForward) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.description(String description)
Sets an optional description of this Google Compute Engine instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.description(String description) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.instanceId(InstanceId instanceId)
Sets the identity of the virtual machine instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.instanceId(InstanceId instanceId) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.machineType(MachineTypeId machineType)
Sets the machine type identity.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.machineType(MachineTypeId machineType) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.metadata(Metadata metadata)
Sets the instance metadata.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.metadata(Metadata metadata) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.networkInterfaces(List<NetworkInterface> networkInterfaces)
Sets a list of network interfaces.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.networkInterfaces(List<NetworkInterface> networkInterfaces) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.networkInterfaces(NetworkInterface... networkInterfaces)
Sets a list of network interfaces.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.networkInterfaces(NetworkInterface... networkInterfaces) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.schedulingOptions(SchedulingOptions schedulingOptions)
Sets the scheduling options for the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.schedulingOptions(SchedulingOptions schedulingOptions) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.serviceAccounts(List<ServiceAccount> serviceAccounts)
Sets a list of service accounts, with their specified scopes, authorized for this instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.serviceAccounts(List<ServiceAccount> serviceAccounts) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.tags(Tags tags)
Sets the tags to apply to this instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.tags(Tags tags) |
InstanceInfo.Builder |
InstanceInfo.toBuilder()
Returns a builder for the current instance.
|
Copyright © 2016 Google. All rights reserved.