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