public static final class ListStacksRequest.Builder extends Object
ListStacksRequest.
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 |
|---|---|
ListStacksRequest.Builder |
addAllNames(Iterable<String> elements)
Adds elements to
names list. |
ListStacksRequest |
build()
Builds a new
ListStacksRequest. |
ListStacksRequest.Builder |
from(org.cloudfoundry.client.v2.stacks._ListStacksRequest instance)
Copy abstract value type
_ListStacksRequest instance into builder. |
ListStacksRequest.Builder |
from(ListStacksRequest instance)
Fill a builder with attribute values from the provided
ListStacksRequest instance. |
ListStacksRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.PaginatedRequest instance. |
ListStacksRequest.Builder |
name(String element)
Adds one element to
names list. |
ListStacksRequest.Builder |
names(Iterable<String> elements)
Sets or replaces all elements for
names list. |
ListStacksRequest.Builder |
names(String... elements)
Adds elements to
names list. |
ListStacksRequest.Builder |
orderDirection(OrderDirection orderDirection)
Initializes the value for the
orderDirection attribute. |
ListStacksRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListStacksRequest.Builder |
resultsPerPage(Integer resultsPerPage)
Initializes the value for the
resultsPerPage attribute. |
public final ListStacksRequest.Builder from(ListStacksRequest instance)
ListStacksRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListStacksRequest.Builder from(org.cloudfoundry.client.v2.stacks._ListStacksRequest instance)
_ListStacksRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListStacksRequest.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 ListStacksRequest.Builder orderDirection(OrderDirection orderDirection)
orderDirection attribute.orderDirection - The value for orderDirection (can be null)this builder for use in a chained invocationpublic final ListStacksRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListStacksRequest.Builder resultsPerPage(Integer resultsPerPage)
resultsPerPage attribute.resultsPerPage - The value for resultsPerPage (can be null)this builder for use in a chained invocationpublic final ListStacksRequest.Builder name(String element)
names list.element - A names elementthis builder for use in a chained invocationpublic final ListStacksRequest.Builder names(String... elements)
names list.elements - An array of names elementsthis builder for use in a chained invocationpublic final ListStacksRequest.Builder names(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic final ListStacksRequest.Builder addAllNames(Iterable<String> elements)
names list.elements - An iterable of names elementsthis builder for use in a chained invocationpublic ListStacksRequest build()
ListStacksRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.