public static final class OrganizationUsers.Builder extends Object
OrganizationUsers.
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 OrganizationUsers.Builder from(OrganizationUsers instance)
OrganizationUsers 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 OrganizationUsers.Builder auditor(String element)
auditors list.element - A auditors elementthis builder for use in a chained invocationpublic final OrganizationUsers.Builder auditors(String... elements)
auditors list.elements - An array of auditors elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder auditors(Iterable<String> elements)
auditors list.elements - An iterable of auditors elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder addAllAuditors(Iterable<String> elements)
auditors list.elements - An iterable of auditors elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder billingManager(String element)
billingManagers list.element - A billingManagers elementthis builder for use in a chained invocationpublic final OrganizationUsers.Builder billingManagers(String... elements)
billingManagers list.elements - An array of billingManagers elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder billingManagers(Iterable<String> elements)
billingManagers list.elements - An iterable of billingManagers elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder addAllBillingManagers(Iterable<String> elements)
billingManagers list.elements - An iterable of billingManagers elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder manager(String element)
managers list.element - A managers elementthis builder for use in a chained invocationpublic final OrganizationUsers.Builder managers(String... elements)
managers list.elements - An array of managers elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder managers(Iterable<String> elements)
managers list.elements - An iterable of managers elementsthis builder for use in a chained invocationpublic final OrganizationUsers.Builder addAllManagers(Iterable<String> elements)
managers list.elements - An iterable of managers elementsthis builder for use in a chained invocationpublic OrganizationUsers build()
OrganizationUsers.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.