public static final class ListServiceBindingsRequest.Builder extends Object
ListServiceBindingsRequest.
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 |
|---|---|
ListServiceBindingsRequest.Builder |
addAllApplicationIds(Iterable<String> elements)
Adds elements to
applicationIds list. |
ListServiceBindingsRequest.Builder |
addAllServiceInstanceIds(Iterable<String> elements)
Adds elements to
serviceInstanceIds list. |
ListServiceBindingsRequest.Builder |
applicationId(String... elements)
Adds elements to
applicationIds list. |
ListServiceBindingsRequest.Builder |
applicationId(String element)
Adds one element to
applicationIds list. |
ListServiceBindingsRequest.Builder |
applicationIds(Iterable<String> elements)
Sets or replaces all elements for
applicationIds list. |
ListServiceBindingsRequest |
build()
Builds a new
ListServiceBindingsRequest. |
ListServiceBindingsRequest.Builder |
from(ListServiceBindingsRequest instance)
Fill a builder with attribute values from the provided
ListServiceBindingsRequest instance. |
ListServiceBindingsRequest.Builder |
from(PaginatedAndSortedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.PaginatedAndSortedRequest instance. |
ListServiceBindingsRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.PaginatedRequest instance. |
ListServiceBindingsRequest.Builder |
orderBy(String orderBy)
Initializes the value for the
orderBy attribute. |
ListServiceBindingsRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListServiceBindingsRequest.Builder |
perPage(Integer perPage)
Initializes the value for the
perPage attribute. |
ListServiceBindingsRequest.Builder |
serviceInstanceId(String... elements)
Adds elements to
serviceInstanceIds list. |
ListServiceBindingsRequest.Builder |
serviceInstanceId(String element)
Adds one element to
serviceInstanceIds list. |
ListServiceBindingsRequest.Builder |
serviceInstanceIds(Iterable<String> elements)
Sets or replaces all elements for
serviceInstanceIds list. |
public final ListServiceBindingsRequest.Builder from(PaginatedRequest instance)
org.cloudfoundry.client.v3.PaginatedRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder from(ListServiceBindingsRequest instance)
ListServiceBindingsRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder from(PaginatedAndSortedRequest instance)
org.cloudfoundry.client.v3.PaginatedAndSortedRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder applicationId(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder serviceInstanceId(String element)
serviceInstanceIds list.element - A serviceInstanceIds elementthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder serviceInstanceId(String... elements)
serviceInstanceIds list.elements - An array of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder serviceInstanceIds(Iterable<String> elements)
serviceInstanceIds list.elements - An iterable of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder addAllServiceInstanceIds(Iterable<String> elements)
serviceInstanceIds list.elements - An iterable of serviceInstanceIds elementsthis builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (can be null)this builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListServiceBindingsRequest.Builder perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic ListServiceBindingsRequest build()
ListServiceBindingsRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.