public static final class ListDropletsRequest.Builder extends Object
ListDropletsRequest.
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 ListDropletsRequest.Builder from(ListDropletsRequest instance)
ListDropletsRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder from(org.cloudfoundry.client.v3.droplets._ListDropletsRequest instance)
_ListDropletsRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListDropletsRequest.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 ListDropletsRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (can be null)this builder for use in a chained invocationpublic final ListDropletsRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListDropletsRequest.Builder perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic final ListDropletsRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder applicationIds(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder dropletId(String element)
dropletIds list.element - A dropletIds elementthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder dropletIds(String... elements)
dropletIds list.elements - An array of dropletIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder dropletIds(Iterable<String> elements)
dropletIds list.elements - An iterable of dropletIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder addAllDropletIds(Iterable<String> elements)
dropletIds list.elements - An iterable of dropletIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder organizationId(String element)
organizationIds list.element - A organizationIds elementthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder organizationIds(String... elements)
organizationIds list.elements - An array of organizationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder organizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder addAllOrganizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder spaceId(String element)
spaceIds list.element - A spaceIds elementthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder spaceIds(String... elements)
spaceIds list.elements - An array of spaceIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder spaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder addAllSpaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder state(DropletState element)
states list.element - A states elementthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder states(DropletState... elements)
states list.elements - An array of states elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder states(Iterable<? extends DropletState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic final ListDropletsRequest.Builder addAllStates(Iterable<? extends DropletState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic ListDropletsRequest build()
ListDropletsRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.