public static class Compute.InstanceListOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Compute.InstanceListOption |
fields(Compute.InstanceField... fields)
Returns an option to specify the instance's fields to be returned by the RPC call.
|
static Compute.InstanceListOption |
filter(Compute.InstanceFilter filter)
Returns an option to specify a filter on the instances being listed.
|
int |
hashCode() |
static Compute.InstanceListOption |
pageSize(long pageSize)
Returns an option to specify the maximum number of instances returned per page.
|
static Compute.InstanceListOption |
pageToken(String pageToken)
Returns an option to specify the page token from which to start listing instances.
|
String |
toString() |
public static Compute.InstanceListOption filter(Compute.InstanceFilter filter)
public static Compute.InstanceListOption pageSize(long pageSize)
pageSize
must be between 0 and 500 (inclusive). If not specified 500 is used.public static Compute.InstanceListOption pageToken(String pageToken)
public static Compute.InstanceListOption fields(Compute.InstanceField... fields)
InstanceListOption.fields
can be used to specify only the fields of interest. InstanceInfo.getInstanceId()
is
always returned, even if not specified.Copyright © 2019 Google LLC. All rights reserved.