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