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.
| Modifier and Type | Method and Description |
|---|---|
ListSpacesRequest.Builder |
addAllNames(Iterable<String> elements)
Adds elements to
names list. |
ListSpacesRequest.Builder |
addAllOrganizationIds(Iterable<String> elements)
Adds elements to
organizationIds list. |
ListSpacesRequest |
build()
Builds a new
ListSpacesRequest. |
ListSpacesRequest.Builder |
from(org.cloudfoundry.client.v3.spaces._ListSpacesRequest instance)
Copy abstract value type
_ListSpacesRequest instance into builder. |
ListSpacesRequest.Builder |
from(ListSpacesRequest instance)
Fill a builder with attribute values from the provided
ListSpacesRequest instance. |
ListSpacesRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.PaginatedRequest instance. |
ListSpacesRequest.Builder |
name(String element)
Adds one element to
names list. |
ListSpacesRequest.Builder |
names(Iterable<String> elements)
Sets or replaces all elements for
names list. |
ListSpacesRequest.Builder |
names(String... elements)
Adds elements to
names list. |
ListSpacesRequest.Builder |
orderBy(String orderBy)
Initializes the value for the
orderBy attribute. |
ListSpacesRequest.Builder |
organizationId(String element)
Adds one element to
organizationIds list. |
ListSpacesRequest.Builder |
organizationIds(Iterable<String> elements)
Sets or replaces all elements for
organizationIds list. |
ListSpacesRequest.Builder |
organizationIds(String... elements)
Adds elements to
organizationIds list. |
ListSpacesRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListSpacesRequest.Builder |
perPage(Integer perPage)
Initializes the value for the
perPage attribute. |
public final ListSpacesRequest.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 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.v3.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 orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (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 perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this 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.