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