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