@NotThreadSafe public static final class ImmutableO365TeamChannelResponse.Builder extends Object
ImmutableO365TeamChannelResponse
.
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 |
---|---|
ImmutableO365TeamChannelResponse |
build()
Builds a new
ImmutableO365TeamChannelResponse . |
ImmutableO365TeamChannelResponse.Builder |
displayName(String displayName)
Initializes the value for the
displayName attribute. |
ImmutableO365TeamChannelResponse.Builder |
from(O365TeamChannelResponse instance)
Fill a builder with attribute values from the provided
O365TeamChannelResponse instance. |
ImmutableO365TeamChannelResponse.Builder |
nativeId(String nativeId)
Initializes the value for the
nativeId attribute. |
public final ImmutableO365TeamChannelResponse.Builder from(O365TeamChannelResponse instance)
O365TeamChannelResponse
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 ImmutableO365TeamChannelResponse.Builder nativeId(String nativeId)
nativeId
attribute.nativeId
- The value for nativeIdthis
builder for use in a chained invocationpublic final ImmutableO365TeamChannelResponse.Builder displayName(String displayName)
displayName
attribute.displayName
- The value for displayNamethis
builder for use in a chained invocationpublic ImmutableO365TeamChannelResponse build()
ImmutableO365TeamChannelResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.