Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
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 |
---|---|
static InstanceInfo.Builder |
InstanceInfo.newBuilder(InstanceId instanceId,
MachineTypeId machineType)
Returns a builder for an
InstanceInfo object given the instance identity and the
machine type. |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setAttachedDisks(AttachedDisk... attachedDisks)
Sets a list of disks to attach to the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setAttachedDisks(AttachedDisk... attachedDisks) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setAttachedDisks(List<AttachedDisk> attachedDisks)
Sets a list of disks to attach to the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setAttachedDisks(List<AttachedDisk> attachedDisks) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setCanIpForward(Boolean canIpForward)
Sets whether to allow this instance to send and receive packets with non-matching destination
or source IPs.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setCanIpForward(Boolean canIpForward) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setDescription(String description)
Sets an optional description of this Google Compute Engine instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setDescription(String description) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setInstanceId(InstanceId instanceId)
Sets the identity of the virtual machine instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setInstanceId(InstanceId instanceId) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setMachineType(MachineTypeId machineType)
Sets the machine type identity.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setMachineType(MachineTypeId machineType) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setMetadata(Metadata metadata)
Sets the instance metadata.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setMetadata(Metadata metadata) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Sets a list of network interfaces.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setNetworkInterfaces(List<NetworkInterface> networkInterfaces) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setNetworkInterfaces(NetworkInterface... networkInterfaces)
Sets a list of network interfaces.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setNetworkInterfaces(NetworkInterface... networkInterfaces) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setSchedulingOptions(SchedulingOptions schedulingOptions)
Sets the scheduling options for the instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setSchedulingOptions(SchedulingOptions schedulingOptions) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setServiceAccounts(List<ServiceAccount> serviceAccounts)
Sets a list of service accounts, with their specified scopes, authorized for this instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setServiceAccounts(List<ServiceAccount> serviceAccounts) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setTags(Tags tags)
Sets the tags to apply to this instance.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setTags(Tags tags) |
InstanceInfo.Builder |
InstanceInfo.toBuilder()
Returns a builder for the current instance.
|
Copyright © 2019 Google LLC. All rights reserved.