public static final class InviteUsersResponse.Builder extends Object
InviteUsersResponse.
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 InviteUsersResponse.Builder from(InviteUsersResponse instance)
InviteUsersResponse 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 InviteUsersResponse.Builder failedInvite(Invite element)
failedInvites list.element - A failedInvites elementthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder failedInvites(Invite... elements)
failedInvites list.elements - An array of failedInvites elementsthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder failedInvites(Iterable<? extends Invite> elements)
failedInvites list.elements - An iterable of failedInvites elementsthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder addAllFailedInvites(Iterable<? extends Invite> elements)
failedInvites list.elements - An iterable of failedInvites elementsthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder newInvite(Invite element)
newInvites list.element - A newInvites elementthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder newInvites(Invite... elements)
newInvites list.elements - An array of newInvites elementsthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder newInvites(Iterable<? extends Invite> elements)
newInvites list.elements - An iterable of newInvites elementsthis builder for use in a chained invocationpublic final InviteUsersResponse.Builder addAllNewInvites(Iterable<? extends Invite> elements)
newInvites list.elements - An iterable of newInvites elementsthis builder for use in a chained invocationpublic InviteUsersResponse build()
InviteUsersResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.