public static final class ListUserBillingManagedOrganizationsResponse.Builder extends Object
ListUserBillingManagedOrganizationsResponse.
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 ListUserBillingManagedOrganizationsResponse.Builder from(ListUserBillingManagedOrganizationsResponse instance)
ListUserBillingManagedOrganizationsResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder nextUrl(String nextUrl)
nextUrl attribute.nextUrl - The value for nextUrl (can be null)this builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder previousUrl(String previousUrl)
previousUrl attribute.previousUrl - The value for previousUrl (can be null)this builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder resource(OrganizationResource element)
resources list.element - A resources elementthis builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder resource(OrganizationResource... elements)
resources list.elements - An array of resources elementsthis builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder resources(Iterable<? extends OrganizationResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder addAllResources(Iterable<? extends OrganizationResource> elements)
resources list.elements - An iterable of resources elementsthis builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder totalPages(Integer totalPages)
totalPages attribute.totalPages - The value for totalPages (can be null)this builder for use in a chained invocationpublic final ListUserBillingManagedOrganizationsResponse.Builder totalResults(Integer totalResults)
totalResults attribute.totalResults - The value for totalResults (can be null)this builder for use in a chained invocationpublic ListUserBillingManagedOrganizationsResponse build()
ListUserBillingManagedOrganizationsResponse.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.