public static final class ListServiceInstancesRequest.Builder extends Object
ListServiceInstancesRequest.
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.
public final ListServiceInstancesRequest.Builder from(ListServiceInstancesRequest instance)
ListServiceInstancesRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder from(org.cloudfoundry.client.v3.serviceInstances._ListServiceInstancesRequest instance)
_ListServiceInstancesRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.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 ListServiceInstancesRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (can be null)this builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder labelSelector(String labelSelector)
labelSelector attribute.labelSelector - The value for labelSelector (can be null)this builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder serviceInstanceName(String element)
serviceInstanceNames list.element - A serviceInstanceNames elementthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder serviceInstanceNames(String... elements)
serviceInstanceNames list.elements - An array of serviceInstanceNames elementsthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder serviceInstanceNames(Iterable<String> elements)
serviceInstanceNames list.elements - An iterable of serviceInstanceNames elementsthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder addAllServiceInstanceNames(Iterable<String> elements)
serviceInstanceNames list.elements - An iterable of serviceInstanceNames elementsthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder spaceId(String element)
spaceIds list.element - A spaceIds elementthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder spaceIds(String... elements)
spaceIds list.elements - An array of spaceIds elementsthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder spaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic final ListServiceInstancesRequest.Builder addAllSpaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic ListServiceInstancesRequest build()
ListServiceInstancesRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.