public static class InstanceList.Builder extends Object
Modifier and Type | Method and Description |
---|---|
InstanceList.Builder |
addAllItems(List<Instance> items)
A list of Instance resources.
|
InstanceList.Builder |
addItems(Instance items)
A list of Instance resources.
|
InstanceList |
build() |
InstanceList.Builder |
clone() |
String |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
List<Instance> |
getItemsList()
A list of Instance resources.
|
String |
getKind()
[Output Only] Type of resource.
|
String |
getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
[Output Only] Server-defined URL for this resource.
|
Warning |
getWarning()
[Output Only] Informational warning message.
|
InstanceList.Builder |
mergeFrom(InstanceList other) |
InstanceList.Builder |
setId(String id)
[Output Only] Unique identifier for the resource; defined by the server.
|
InstanceList.Builder |
setKind(String kind)
[Output Only] Type of resource.
|
InstanceList.Builder |
setNextPageToken(String nextPageToken)
[Output Only] This token allows you to get the next page of results for list requests.
|
InstanceList.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for this resource.
|
InstanceList.Builder |
setWarning(Warning warning)
[Output Only] Informational warning message.
|
public InstanceList.Builder mergeFrom(InstanceList other)
public String getId()
public InstanceList.Builder setId(String id)
public InstanceList.Builder addAllItems(List<Instance> items)
public InstanceList.Builder addItems(Instance items)
public String getKind()
public InstanceList.Builder setKind(String kind)
public String getNextPageToken()
public InstanceList.Builder setNextPageToken(String nextPageToken)
public String getSelfLink()
public InstanceList.Builder setSelfLink(String selfLink)
public Warning getWarning()
public InstanceList.Builder setWarning(Warning warning)
public InstanceList build()
public InstanceList.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.