public static final class ListUserManagedSpacesRequest.Builder extends Object
ListUserManagedSpacesRequest.
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 |
|---|---|
ListUserManagedSpacesRequest.Builder |
applicationId(String applicationId)
Initializes the value for the
applicationId attribute. |
ListUserManagedSpacesRequest |
build()
Builds a new
ListUserManagedSpacesRequest. |
ListUserManagedSpacesRequest.Builder |
developerId(String developerId)
Initializes the value for the
developerId attribute. |
ListUserManagedSpacesRequest.Builder |
from(ListUserManagedSpacesRequest instance)
Fill a builder with attribute values from the provided
ListUserManagedSpacesRequest instance. |
ListUserManagedSpacesRequest.Builder |
from(PaginatedRequest instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v2.PaginatedRequest instance. |
ListUserManagedSpacesRequest.Builder |
name(String name)
Initializes the value for the
name attribute. |
ListUserManagedSpacesRequest.Builder |
orderDirection(OrderDirection orderDirection)
Initializes the value for the
orderDirection attribute. |
ListUserManagedSpacesRequest.Builder |
organizationId(String organizationId)
Initializes the value for the
organizationId attribute. |
ListUserManagedSpacesRequest.Builder |
page(Integer page)
Initializes the value for the
page attribute. |
ListUserManagedSpacesRequest.Builder |
resultsPerPage(Integer resultsPerPage)
Initializes the value for the
resultsPerPage attribute. |
ListUserManagedSpacesRequest.Builder |
userId(String userId)
Initializes the value for the
userId attribute. |
public final ListUserManagedSpacesRequest.Builder from(ListUserManagedSpacesRequest instance)
ListUserManagedSpacesRequest instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.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 ListUserManagedSpacesRequest.Builder applicationId(String applicationId)
applicationId attribute.applicationId - The value for applicationId (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder developerId(String developerId)
developerId attribute.developerId - The value for developerId (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder organizationId(String organizationId)
organizationId attribute.organizationId - The value for organizationId (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder userId(String userId)
userId attribute.userId - The value for userIdthis builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder orderDirection(OrderDirection orderDirection)
orderDirection attribute.orderDirection - The value for orderDirection (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder page(Integer page)
page attribute.page - The value for page (can be null)this builder for use in a chained invocationpublic final ListUserManagedSpacesRequest.Builder resultsPerPage(Integer resultsPerPage)
resultsPerPage attribute.resultsPerPage - The value for resultsPerPage (can be null)this builder for use in a chained invocationpublic ListUserManagedSpacesRequest build()
ListUserManagedSpacesRequest.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.