public static final class ListApplicationPackagesRequest.Builder extends Object
ListApplicationPackagesRequest.
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 |
|---|---|
ListApplicationPackagesRequest.Builder |
addAllPackageIds(Iterable<String> elements)
Adds elements to
packageIds list. |
ListApplicationPackagesRequest.Builder |
addAllStates(Iterable<? extends PackageState> elements)
Adds elements to
states list. |
ListApplicationPackagesRequest.Builder |
addAllTypes(Iterable<? extends PackageType> elements)
Adds elements to
types list. |
ListApplicationPackagesRequest.Builder |
applicationId(String applicationId)
Initializes the value for the
applicationId attribute. |
ListApplicationPackagesRequest |
build()
Builds a new
ListApplicationPackagesRequest. |
ListApplicationPackagesRequest.Builder |
from(ListApplicationPackagesRequest instance)
Fill a builder with attribute values from the provided
ListApplicationPackagesRequest instance. |
ListApplicationPackagesRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.PaginatedRequest instance. |
ListApplicationPackagesRequest.Builder |
orderBy(String orderBy)
Initializes the value for the
orderBy attribute. |
ListApplicationPackagesRequest.Builder |
packageId(String... elements)
Adds elements to
packageIds list. |
ListApplicationPackagesRequest.Builder |
packageId(String element)
Adds one element to
packageIds list. |
ListApplicationPackagesRequest.Builder |
packageIds(Iterable<String> elements)
Sets or replaces all elements for
packageIds list. |
ListApplicationPackagesRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListApplicationPackagesRequest.Builder |
perPage(Integer perPage)
Initializes the value for the
perPage attribute. |
ListApplicationPackagesRequest.Builder |
state(PackageState... elements)
Adds elements to
states list. |
ListApplicationPackagesRequest.Builder |
state(PackageState element)
Adds one element to
states list. |
ListApplicationPackagesRequest.Builder |
states(Iterable<? extends PackageState> elements)
Sets or replaces all elements for
states list. |
ListApplicationPackagesRequest.Builder |
type(PackageType... elements)
Adds elements to
types list. |
ListApplicationPackagesRequest.Builder |
type(PackageType element)
Adds one element to
types list. |
ListApplicationPackagesRequest.Builder |
types(Iterable<? extends PackageType> elements)
Sets or replaces all elements for
types list. |
public final ListApplicationPackagesRequest.Builder from(ListApplicationPackagesRequest instance)
ListApplicationPackagesRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.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 ListApplicationPackagesRequest.Builder applicationId(String applicationId)
applicationId attribute.applicationId - The value for applicationIdthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder packageId(String element)
packageIds list.element - A packageIds elementthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder packageId(String... elements)
packageIds list.elements - An array of packageIds elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder packageIds(Iterable<String> elements)
packageIds list.elements - An iterable of packageIds elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder addAllPackageIds(Iterable<String> elements)
packageIds list.elements - An iterable of packageIds elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder state(PackageState element)
states list.element - A states elementthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder state(PackageState... elements)
states list.elements - An array of states elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder states(Iterable<? extends PackageState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder addAllStates(Iterable<? extends PackageState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder type(PackageType element)
types list.element - A types elementthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder type(PackageType... elements)
types list.elements - An array of types elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder types(Iterable<? extends PackageType> elements)
types list.elements - An iterable of types elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder addAllTypes(Iterable<? extends PackageType> elements)
types list.elements - An iterable of types elementsthis builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (can be null)this builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListApplicationPackagesRequest.Builder perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic ListApplicationPackagesRequest build()
ListApplicationPackagesRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.