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