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.
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.v3.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.v3.PaginatedRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (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 perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic final ListRoutesRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder applicationIds(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis 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 labelSelector(String labelSelector)
labelSelector attribute.labelSelector - The value for labelSelector (can be null)this builder for use in a chained invocationpublic final ListRoutesRequest.Builder organizationId(String element)
organizationIds list.element - A organizationIds elementthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder organizationIds(String... elements)
organizationIds list.elements - An array of organizationIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder organizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder addAllOrganizationIds(Iterable<String> elements)
organizationIds list.elements - An iterable of organizationIds elementsthis 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(int element)
ports list.element - A ports elementthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder ports(int... elements)
ports list.elements - An array of ports elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder ports(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder addAllPorts(Iterable<Integer> elements)
ports list.elements - An iterable of ports elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder spaceId(String element)
spaceIds list.element - A spaceIds elementthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder spaceIds(String... elements)
spaceIds list.elements - An array of spaceIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder spaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic final ListRoutesRequest.Builder addAllSpaceIds(Iterable<String> elements)
spaceIds list.elements - An iterable of spaceIds elementsthis builder for use in a chained invocationpublic ListRoutesRequest build()
ListRoutesRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.