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.
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 from(org.cloudfoundry.client.v2.domains._ListDomainSpacesRequest instance)
_ListDomainSpacesRequest instance into builder.instance - The instance from which to copy valuesthis 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 final ListDomainSpacesRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListDomainSpacesRequest.Builder applicationIds(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 developerIds(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 names(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 organizationIds(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 ListDomainSpacesRequest build()
ListDomainSpacesRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.