public static final class ListDeploymentsRequest.Builder extends Object
ListDeploymentsRequest.
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 |
|---|---|
ListDeploymentsRequest.Builder |
addAllApplicationIds(Iterable<String> elements)
Adds elements to
applicationIds list. |
ListDeploymentsRequest.Builder |
addAllStates(Iterable<? extends DeploymentState> elements)
Adds elements to
states list. |
ListDeploymentsRequest.Builder |
applicationId(String element)
Adds one element to
applicationIds list. |
ListDeploymentsRequest.Builder |
applicationIds(Iterable<String> elements)
Sets or replaces all elements for
applicationIds list. |
ListDeploymentsRequest.Builder |
applicationIds(String... elements)
Adds elements to
applicationIds list. |
ListDeploymentsRequest |
build()
Builds a new
ListDeploymentsRequest. |
ListDeploymentsRequest.Builder |
from(org.cloudfoundry.client.v3.deployments._ListDeploymentsRequest instance)
Copy abstract value type
_ListDeploymentsRequest instance into builder. |
ListDeploymentsRequest.Builder |
from(ListDeploymentsRequest instance)
Fill a builder with attribute values from the provided
ListDeploymentsRequest instance. |
ListDeploymentsRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.PaginatedRequest instance. |
ListDeploymentsRequest.Builder |
orderBy(String orderBy)
Initializes the value for the
orderBy attribute. |
ListDeploymentsRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListDeploymentsRequest.Builder |
perPage(Integer perPage)
Initializes the value for the
perPage attribute. |
ListDeploymentsRequest.Builder |
state(DeploymentState element)
Adds one element to
states list. |
ListDeploymentsRequest.Builder |
states(DeploymentState... elements)
Adds elements to
states list. |
ListDeploymentsRequest.Builder |
states(Iterable<? extends DeploymentState> elements)
Sets or replaces all elements for
states list. |
public final ListDeploymentsRequest.Builder from(ListDeploymentsRequest instance)
ListDeploymentsRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder from(org.cloudfoundry.client.v3.deployments._ListDeploymentsRequest instance)
_ListDeploymentsRequest instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListDeploymentsRequest.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 ListDeploymentsRequest.Builder applicationId(String element)
applicationIds list.element - A applicationIds elementthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder applicationIds(String... elements)
applicationIds list.elements - An array of applicationIds elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder applicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder addAllApplicationIds(Iterable<String> elements)
applicationIds list.elements - An iterable of applicationIds elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder state(DeploymentState element)
states list.element - A states elementthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder states(DeploymentState... elements)
states list.elements - An array of states elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder states(Iterable<? extends DeploymentState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder addAllStates(Iterable<? extends DeploymentState> elements)
states list.elements - An iterable of states elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder orderBy(String orderBy)
orderBy attribute.orderBy - The value for orderBy (can be null)this builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder perPage(Integer perPage)
perPage attribute.perPage - The value for perPage (can be null)this builder for use in a chained invocationpublic ListDeploymentsRequest build()
ListDeploymentsRequest.IllegalStateException - if any required attributes are missingCopyright © 2019. All rights reserved.