public static final class ListDomainSpacesRequest.Builder extends Object
ListDomainSpacesRequest.
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 |
|---|---|
ListDomainSpacesRequest.Builder |
addAllApplicationIds(Iterable<String> elements)
Adds elements to
applicationIds list. |
ListDomainSpacesRequest.Builder |
addAllDeveloperIds(Iterable<String> elements)
Adds elements to
developerIds list. |
ListDomainSpacesRequest.Builder |
addAllNames(Iterable<String> elements)
Adds elements to
names list. |
ListDomainSpacesRequest.Builder |
addAllOrganizationIds(Iterable<String> elements)
Adds elements to
organizationIds list. |
ListDomainSpacesRequest.Builder |
applicationId(String... elements)
Adds elements to
applicationIds list. |
ListDomainSpacesRequest.Builder |
applicationId(String element)
Adds one element to
applicationIds list. |
ListDomainSpacesRequest.Builder |
applicationIds(Iterable<String> elements)
Sets or replaces all elements for
applicationIds list. |
ListDomainSpacesRequest |
build()
Builds a new
ListDomainSpacesRequest. |
ListDomainSpacesRequest.Builder |
developerId(String... elements)
Adds elements to
developerIds list. |
ListDomainSpacesRequest.Builder |
developerId(String element)
Adds one element to
developerIds list. |
ListDomainSpacesRequest.Builder |
developerIds(Iterable<String> elements)
Sets or replaces all elements for
developerIds list. |
ListDomainSpacesRequest.Builder |
domainId(String domainId)
Initializes the value for the
domainId attribute. |
ListDomainSpacesRequest.Builder |
from(ListDomainSpacesRequest instance)
Fill a builder with attribute values from the provided
ListDomainSpacesRequest instance. |
ListDomainSpacesRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.PaginatedRequest instance. |
ListDomainSpacesRequest.Builder |
name(String... elements)
Adds elements to
names list. |
ListDomainSpacesRequest.Builder |
name(String element)
Adds one element to
names list. |
ListDomainSpacesRequest.Builder |
names(Iterable<String> elements)
Sets or replaces all elements for
names list. |
ListDomainSpacesRequest.Builder |
orderDirection(OrderDirection orderDirection)
Initializes the value for the
orderDirection attribute. |
ListDomainSpacesRequest.Builder |
organizationId(String... elements)
Adds elements to
organizationIds list. |
ListDomainSpacesRequest.Builder |
organizationId(String element)
Adds one element to
organizationIds list. |
ListDomainSpacesRequest.Builder |
organizationIds(Iterable<String> elements)
Sets or replaces all elements for
organizationIds list. |
ListDomainSpacesRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListDomainSpacesRequest.Builder |
resultsPerPage(Integer resultsPerPage)
Initializes the value for the
resultsPerPage attribute. |
public final ListDomainSpacesRequest.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 ListDomainSpacesRequest.Builder from(ListDomainSpacesRequest instance)
ListDomainSpacesRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder applicationId(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder developerId(String element)
developerIds list.element - A developerIds elementthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder developerId(String... elements)
developerIds list.elements - An array of developerIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder developerIds(Iterable<String> elements)
developerIds list.elements - An iterable of developerIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder addAllDeveloperIds(Iterable<String> elements)
developerIds list.elements - An iterable of developerIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder domainId(String domainId)
domainId attribute.domainId - The value for domainIdthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder name(String element)
names list.element - A names elementthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder name(String... elements)
names list.elements - An array of names elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder names(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder addAllNames(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder organizationId(String element)
organizationIds list.element - A organizationIds elementthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder organizationId(String... elements)
organizationIds list.elements - An array of organizationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder organizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder addAllOrganizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder orderDirection(OrderDirection orderDirection)
orderDirection attribute.orderDirection - The value for orderDirection (can be null)this builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder resultsPerPage(Integer resultsPerPage)
resultsPerPage attribute.resultsPerPage - The value for resultsPerPage (can be null)this builder for use in a chained invocationpublic ListDomainSpacesRequest build()
ListDomainSpacesRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.