public static final class ListSpacesRequest.Builder extends Object
ListSpacesRequest.
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 ListSpacesRequest.Builder from(ListSpacesRequest instance)
ListSpacesRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder from(org.cloudfoundry.client.v2.spaces._ListSpacesRequest instance)
_ListSpacesRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListSpacesRequest.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 ListSpacesRequest.Builder orderDirection(OrderDirection orderDirection)
orderDirection attribute.orderDirection - The value for orderDirection (can be null)this builder for use in a chained invocationpublic final ListSpacesRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListSpacesRequest.Builder resultsPerPage(Integer resultsPerPage)
resultsPerPage attribute.resultsPerPage - The value for resultsPerPage (can be null)this builder for use in a chained invocationpublic final ListSpacesRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder applicationIds(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder developerId(String element)
developerIds list.element - A developerIds elementthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder developerIds(String... elements)
developerIds list.elements - An array of developerIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder developerIds(Iterable<String> elements)
developerIds list.elements - An iterable of developerIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder addAllDeveloperIds(Iterable<String> elements)
developerIds list.elements - An iterable of developerIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder name(String element)
names list.element - A names elementthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder names(String... elements)
names list.elements - An array of names elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder names(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder addAllNames(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder organizationId(String element)
organizationIds list.element - A organizationIds elementthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder organizationIds(String... elements)
organizationIds list.elements - An array of organizationIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder organizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListSpacesRequest.Builder addAllOrganizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic ListSpacesRequest build()
ListSpacesRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.