Package com.ibm.cloud.is.vpc.v1.model
Class ListVpnGatewaysOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ListVpnGatewaysOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ListVpnGatewaysOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The listVpnGateways options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListVpnGatewaysOptions.Builder
Builder.static interface
ListVpnGatewaysOptions.Mode
Filters the collection to VPN gateways with a `mode` property matching the specified value.static interface
ListVpnGatewaysOptions.Sort
Sorts the returned collection by the specified property name in ascending order.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
limit()
Gets the limit.String
mode()
Gets the mode.ListVpnGatewaysOptions.Builder
newBuilder()
New builder.String
resourceGroupId()
Gets the resourceGroupId.String
sort()
Gets the sort.String
start()
Gets the start.
-
-
-
Method Detail
-
newBuilder
public ListVpnGatewaysOptions.Builder newBuilder()
New builder.- Returns:
- a ListVpnGatewaysOptions builder
-
start
public String start()
Gets the start. A server-provided token determining what resource to start the page on.- Returns:
- the start
-
limit
public Long limit()
Gets the limit. The number of resources to return on a page.- Returns:
- the limit
-
resourceGroupId
public String resourceGroupId()
Gets the resourceGroupId. Filters the collection to resources with a `resource_group.id` property matching the specified identifier.- Returns:
- the resourceGroupId
-
sort
public String sort()
Gets the sort. Sorts the returned collection by the specified property name in ascending order. A `-` may be prepended to the name to sort in descending order. For example, the value `-created_at` sorts the collection by the `created_at` property in descending order, and the value `name` sorts it by the `name` property in ascending order.- Returns:
- the sort
-
mode
public String mode()
Gets the mode. Filters the collection to VPN gateways with a `mode` property matching the specified value.- Returns:
- the mode
-
-