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.
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 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 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 statusReason(DeploymentStatusReason element)
statusReasons list.element - A statusReasons elementthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder statusReasons(DeploymentStatusReason... elements)
statusReasons list.elements - An array of statusReasons elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder statusReasons(Iterable<? extends DeploymentStatusReason> elements)
statusReasons list.elements - An iterable of statusReasons elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder addAllStatusReasons(Iterable<? extends DeploymentStatusReason> elements)
statusReasons list.elements - An iterable of statusReasons elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder statusValue(DeploymentStatusValue element)
statusValues list.element - A statusValues elementthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder statusValues(DeploymentStatusValue... elements)
statusValues list.elements - An array of statusValues elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder statusValues(Iterable<? extends DeploymentStatusValue> elements)
statusValues list.elements - An iterable of statusValues elementsthis builder for use in a chained invocationpublic final ListDeploymentsRequest.Builder addAllStatusValues(Iterable<? extends DeploymentStatusValue> elements)
statusValues list.elements - An iterable of statusValues elementsthis builder for use in a chained invocationpublic ListDeploymentsRequest build()
ListDeploymentsRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.