public static final class ListServicePlansRequest.Builder extends Object
ListServicePlansRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ListServicePlansRequest.Builder |
active(Boolean active)
Initializes the value for the
active attribute. |
ListServicePlansRequest.Builder |
addAllServiceBrokerIds(Iterable<String> elements)
Adds elements to
serviceBrokerIds list. |
ListServicePlansRequest.Builder |
addAllServiceIds(Iterable<String> elements)
Adds elements to
serviceIds list. |
ListServicePlansRequest.Builder |
addAllServiceInstanceIds(Iterable<String> elements)
Adds elements to
serviceInstanceIds list. |
ListServicePlansRequest |
build()
Builds a new
ListServicePlansRequest. |
ListServicePlansRequest.Builder |
from(ListServicePlansRequest instance)
Fill a builder with attribute values from the provided
ListServicePlansRequest instance. |
ListServicePlansRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.PaginatedRequest instance. |
ListServicePlansRequest.Builder |
orderDirection(OrderDirection orderDirection)
Initializes the value for the
orderDirection attribute. |
ListServicePlansRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListServicePlansRequest.Builder |
resultsPerPage(Integer resultsPerPage)
Initializes the value for the
resultsPerPage attribute. |
ListServicePlansRequest.Builder |
serviceBrokerId(String... elements)
Adds elements to
serviceBrokerIds list. |
ListServicePlansRequest.Builder |
serviceBrokerId(String element)
Adds one element to
serviceBrokerIds list. |
ListServicePlansRequest.Builder |
serviceBrokerIds(Iterable<String> elements)
Sets or replaces all elements for
serviceBrokerIds list. |
ListServicePlansRequest.Builder |
serviceId(String... elements)
Adds elements to
serviceIds list. |
ListServicePlansRequest.Builder |
serviceId(String element)
Adds one element to
serviceIds list. |
ListServicePlansRequest.Builder |
serviceIds(Iterable<String> elements)
Sets or replaces all elements for
serviceIds list. |
ListServicePlansRequest.Builder |
serviceInstanceId(String... elements)
Adds elements to
serviceInstanceIds list. |
ListServicePlansRequest.Builder |
serviceInstanceId(String element)
Adds one element to
serviceInstanceIds list. |
ListServicePlansRequest.Builder |
serviceInstanceIds(Iterable<String> elements)
Sets or replaces all elements for
serviceInstanceIds list. |
public final ListServicePlansRequest.Builder from(PaginatedRequest instance)
org.cloudfoundry.client.v2.PaginatedRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder from(ListServicePlansRequest instance)
ListServicePlansRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder active(Boolean active)
active attribute.active - The value for active (can be null)this builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceBrokerId(String element)
serviceBrokerIds list.element - A serviceBrokerIds elementthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceBrokerId(String... elements)
serviceBrokerIds list.elements - An array of serviceBrokerIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceBrokerIds(Iterable<String> elements)
serviceBrokerIds list.elements - An iterable of serviceBrokerIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder addAllServiceBrokerIds(Iterable<String> elements)
serviceBrokerIds list.elements - An iterable of serviceBrokerIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceId(String element)
serviceIds list.element - A serviceIds elementthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceId(String... elements)
serviceIds list.elements - An array of serviceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceIds(Iterable<String> elements)
serviceIds list.elements - An iterable of serviceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder addAllServiceIds(Iterable<String> elements)
serviceIds list.elements - An iterable of serviceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceInstanceId(String element)
serviceInstanceIds list.element - A serviceInstanceIds elementthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceInstanceId(String... elements)
serviceInstanceIds list.elements - An array of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder serviceInstanceIds(Iterable<String> elements)
serviceInstanceIds list.elements - An iterable of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder addAllServiceInstanceIds(Iterable<String> elements)
serviceInstanceIds list.elements - An iterable of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServicePlansRequest.Builder orderDirection(OrderDirection orderDirection)
orderDirection attribute.orderDirection - The value for orderDirection (can be null)this builder for use in a chained invocationpublic final ListServicePlansRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListServicePlansRequest.Builder resultsPerPage(Integer resultsPerPage)
resultsPerPage attribute.resultsPerPage - The value for resultsPerPage (can be null)this builder for use in a chained invocationpublic ListServicePlansRequest build()
ListServicePlansRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.