Class ImmutableO365JobItemGroupResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365JobItemGroupResponse.Builder
- Enclosing class:
- ImmutableO365JobItemGroupResponse
@Generated(from="O365JobItemGroupResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365JobItemGroupResponse.Builder
extends Object
Builds instances of type
ImmutableO365JobItemGroupResponse.
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.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableO365JobItemGroupResponse.from(O365JobItemGroupResponse instance) Fill a builder with attribute values from the providedO365JobItemGroupResponseinstance.groupResponse(O365GroupResponse groupResponse) Initializes the value for thegroupResponseattribute.mail(boolean mail) Initializes the value for themailattribute.mailbox(boolean mailbox) Initializes the value for themailboxattribute.memberArchiveMailbox(boolean memberArchiveMailbox) Initializes the value for thememberArchiveMailboxattribute.memberMailbox(boolean memberMailbox) Initializes the value for thememberMailboxattribute.memberOnedrive(boolean memberOnedrive) Initializes the value for thememberOnedriveattribute.members(boolean members) Initializes the value for themembersattribute.memberSite(boolean memberSite) Initializes the value for thememberSiteattribute.site(boolean site) Initializes the value for thesiteattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder from(O365JobItemGroupResponse instance) Fill a builder with attribute values from the providedO365JobItemGroupResponseinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
groupResponse
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder groupResponse(O365GroupResponse groupResponse) Initializes the value for thegroupResponseattribute.- Parameters:
groupResponse- The value for groupResponse- Returns:
thisbuilder for use in a chained invocation
-
members
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder members(boolean members) Initializes the value for themembersattribute.- Parameters:
members- The value for members- Returns:
thisbuilder for use in a chained invocation
-
memberMailbox
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder memberMailbox(boolean memberMailbox) Initializes the value for thememberMailboxattribute.- Parameters:
memberMailbox- The value for memberMailbox- Returns:
thisbuilder for use in a chained invocation
-
memberArchiveMailbox
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder memberArchiveMailbox(boolean memberArchiveMailbox) Initializes the value for thememberArchiveMailboxattribute.- Parameters:
memberArchiveMailbox- The value for memberArchiveMailbox- Returns:
thisbuilder for use in a chained invocation
-
memberOnedrive
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder memberOnedrive(boolean memberOnedrive) Initializes the value for thememberOnedriveattribute.- Parameters:
memberOnedrive- The value for memberOnedrive- Returns:
thisbuilder for use in a chained invocation
-
memberSite
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder memberSite(boolean memberSite) Initializes the value for thememberSiteattribute.- Parameters:
memberSite- The value for memberSite- Returns:
thisbuilder for use in a chained invocation
-
mail
Initializes the value for themailattribute.- Parameters:
mail- The value for mail- Returns:
thisbuilder for use in a chained invocation
-
mailbox
@CanIgnoreReturnValue public final ImmutableO365JobItemGroupResponse.Builder mailbox(boolean mailbox) Initializes the value for themailboxattribute.- Parameters:
mailbox- The value for mailbox- Returns:
thisbuilder for use in a chained invocation
-
site
Initializes the value for thesiteattribute.- Parameters:
site- The value for site- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365JobItemGroupResponse.- Returns:
- An immutable instance of O365JobItemGroupResponse
- Throws:
IllegalStateException- if any required attributes are missing
-