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