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