@NotThreadSafe public static final class ImmutableO365JobTeamResponse.Builder extends Object
ImmutableO365JobTeamResponse
.
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 |
---|---|
ImmutableO365JobTeamResponse |
build()
Builds a new
ImmutableO365JobTeamResponse . |
ImmutableO365JobTeamResponse.Builder |
chats(Boolean chats)
Initializes the value for the
chats attribute. |
ImmutableO365JobTeamResponse.Builder |
from(O365JobTeamResponse instance)
Fill a builder with attribute values from the provided
O365JobTeamResponse instance. |
ImmutableO365JobTeamResponse.Builder |
team(O365TeamResponse team)
Initializes the value for the
team attribute. |
public final ImmutableO365JobTeamResponse.Builder from(O365JobTeamResponse instance)
O365JobTeamResponse
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableO365JobTeamResponse.Builder team(O365TeamResponse team)
team
attribute.team
- The value for teamthis
builder for use in a chained invocationpublic final ImmutableO365JobTeamResponse.Builder chats(@Nullable Boolean chats)
chats
attribute.chats
- The value for chats (can be null
)this
builder for use in a chained invocationpublic ImmutableO365JobTeamResponse build()
ImmutableO365JobTeamResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.