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.
| Modifier and Type | Method and Description |
|---|---|
ListOrganizationSpacesRequest.Builder |
addAllApplicationIds(Iterable<String> elements)
Adds elements to
applicationIds list. |
ListOrganizationSpacesRequest.Builder |
addAllDeveloperIds(Iterable<String> elements)
Adds elements to
developerIds list. |
ListOrganizationSpacesRequest.Builder |
addAllNames(Iterable<String> elements)
Adds elements to
names list. |
ListOrganizationSpacesRequest.Builder |
applicationId(String... elements)
Adds elements to
applicationIds list. |
ListOrganizationSpacesRequest.Builder |
applicationId(String element)
Adds one element to
applicationIds list. |
ListOrganizationSpacesRequest.Builder |
applicationIds(Iterable<String> elements)
Sets or replaces all elements for
applicationIds list. |
ListOrganizationSpacesRequest |
build()
Builds a new
ListOrganizationSpacesRequest. |
ListOrganizationSpacesRequest.Builder |
developerId(String... elements)
Adds elements to
developerIds list. |
ListOrganizationSpacesRequest.Builder |
developerId(String element)
Adds one element to
developerIds list. |
ListOrganizationSpacesRequest.Builder |
developerIds(Iterable<String> elements)
Sets or replaces all elements for
developerIds list. |
ListOrganizationSpacesRequest.Builder |
from(ListOrganizationSpacesRequest instance)
Fill a builder with attribute values from the provided
ListOrganizationSpacesRequest instance. |
ListOrganizationSpacesRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.PaginatedRequest instance. |
ListOrganizationSpacesRequest.Builder |
name(String... elements)
Adds elements to
names list. |
ListOrganizationSpacesRequest.Builder |
name(String element)
Adds one element to
names list. |
ListOrganizationSpacesRequest.Builder |
names(Iterable<String> elements)
Sets or replaces all elements for
names list. |
ListOrganizationSpacesRequest.Builder |
orderDirection(OrderDirection orderDirection)
Initializes the value for the
orderDirection attribute. |
ListOrganizationSpacesRequest.Builder |
organizationId(String organizationId)
Initializes the value for the
organizationId attribute. |
ListOrganizationSpacesRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListOrganizationSpacesRequest.Builder |
resultsPerPage(Integer resultsPerPage)
Initializes the value for the
resultsPerPage attribute. |
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(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 applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListOrganizationSpacesRequest.Builder applicationId(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 developerId(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 name(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 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 ListOrganizationSpacesRequest build()
ListOrganizationSpacesRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.