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