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