Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
InstanceProperties.Builder |
InstanceProperties.Builder.addAllDisks(List<AttachedDisk> disks)
An array of disks that are associated with the instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addAllGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
A list of guest accelerator cards' type and count to use for instances created from the
instance template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addAllNetworkInterfaces(List<NetworkInterface> networkInterfaces)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addAllServiceAccounts(List<ServiceAccount> serviceAccounts)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addDisks(AttachedDisk disks)
An array of disks that are associated with the instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addGuestAccelerators(AcceleratorConfig guestAccelerators)
A list of guest accelerator cards' type and count to use for instances created from the
instance template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addNetworkInterfaces(NetworkInterface networkInterfaces)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
InstanceProperties.Builder.addServiceAccounts(ServiceAccount serviceAccounts)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
InstanceProperties.Builder.clone() |
InstanceProperties.Builder |
InstanceProperties.Builder.mergeFrom(InstanceProperties other) |
static InstanceProperties.Builder |
InstanceProperties.newBuilder() |
static InstanceProperties.Builder |
InstanceProperties.newBuilder(InstanceProperties prototype) |
InstanceProperties.Builder |
InstanceProperties.Builder.putAllLabels(Map<String,String> labels)
Labels to apply to instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setCanIpForward(Boolean canIpForward)
Enables instances created based on this template to send packets with source IP addresses
other than their own and receive packets with destination IP addresses other than their own.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setDescription(String description)
An optional text description for the instances that are created from this instance template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setMachineType(String machineType)
The machine type to use for instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setMetadata(Metadata metadata)
The metadata key/value pairs to assign to instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setMinCpuPlatform(String minCpuPlatform)
Minimum cpu/platform to be used by this instance.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setReservationAffinity(ReservationAffinity reservationAffinity)
Specifies the reservations that this instance can consume from.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig) |
InstanceProperties.Builder |
InstanceProperties.Builder.setTags(Tags tags)
A list of tags to apply to the instances that are created from this template.
|
InstanceProperties.Builder |
InstanceProperties.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.