Package com.ibm.cloud.is.vpc.v1.model
Class ListReservationsOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ListReservationsOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ListReservationsOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The listReservations options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ListReservationsOptions.AffinityPolicy
Filters the collection to reservations with an `affinity_policy` property matching the specified value.static class
ListReservationsOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
affinityPolicy()
Gets the affinityPolicy.Long
limit()
Gets the limit.String
name()
Gets the name.ListReservationsOptions.Builder
newBuilder()
New builder.String
profileResourceType()
Gets the profileResourceType.String
resourceGroupId()
Gets the resourceGroupId.String
start()
Gets the start.String
zoneName()
Gets the zoneName.
-
-
-
Method Detail
-
newBuilder
public ListReservationsOptions.Builder newBuilder()
New builder.- Returns:
- a ListReservationsOptions 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
-
name
public String name()
Gets the name. Filters the collection to resources with a `name` property matching the exact specified name.- Returns:
- the name
-
profileResourceType
public String profileResourceType()
Gets the profileResourceType. Filters the collection of resources with a `profile.resource_type` property matching the specified value.- Returns:
- the profileResourceType
-
affinityPolicy
public String affinityPolicy()
Gets the affinityPolicy. Filters the collection to reservations with an `affinity_policy` property matching the specified value.- Returns:
- the affinityPolicy
-
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
-
zoneName
public String zoneName()
Gets the zoneName. Filters the collection to resources with a `zone.name` property matching the exact specified name.- Returns:
- the zoneName
-
-