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