public static class NewInstance.Builder extends Object
Constructor and Description |
---|
NewInstance.Builder(String name,
URI machineType,
URI network,
List<AttachDisk> disks) |
NewInstance.Builder(String name,
URI machineType,
URI network,
URI sourceImage) |
Modifier and Type | Method and Description |
---|---|
NewInstance |
build() |
NewInstance.Builder |
canIpForward(Boolean canIpForward) |
NewInstance.Builder |
description(String description) |
NewInstance.Builder |
metadata(Metadata metadata) |
NewInstance.Builder |
scheduling(Instance.Scheduling scheduling) |
NewInstance.Builder |
serviceAccounts(List<Instance.ServiceAccount> serviceAccounts)
A list of service accounts, with their specified scopes, authorized for this instance.
|
NewInstance.Builder |
tags(Tags tags) |
public NewInstance.Builder(String name, URI machineType, URI network, List<AttachDisk> disks)
public NewInstance.Builder canIpForward(Boolean canIpForward)
public NewInstance.Builder description(String description)
public NewInstance.Builder tags(Tags tags)
public NewInstance.Builder metadata(Metadata metadata)
public NewInstance.Builder serviceAccounts(List<Instance.ServiceAccount> serviceAccounts)
public NewInstance.Builder scheduling(Instance.Scheduling scheduling)
public NewInstance build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.