Class ImmutableO365TeamChannelResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamChannelResponse.Builder
- Enclosing class:
- ImmutableO365TeamChannelResponse
@Generated(from="O365TeamChannelResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365TeamChannelResponse.Builder
extends Object
Builds instances of type
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.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableO365TeamChannelResponse.displayName(String displayName) Initializes the value for thedisplayNameattribute.from(O365TeamChannelResponse instance) Fill a builder with attribute values from the providedO365TeamChannelResponseinstance.Initializes the value for thenativeIdattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamChannelResponse.Builder from(O365TeamChannelResponse instance) Fill a builder with attribute values from the providedO365TeamChannelResponseinstance. 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
-
nativeId
@CanIgnoreReturnValue public final ImmutableO365TeamChannelResponse.Builder nativeId(String nativeId) Initializes the value for thenativeIdattribute.- Parameters:
nativeId- The value for nativeId- Returns:
thisbuilder for use in a chained invocation
-
displayName
@CanIgnoreReturnValue public final ImmutableO365TeamChannelResponse.Builder displayName(String displayName) Initializes the value for thedisplayNameattribute.- Parameters:
displayName- The value for displayName- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365TeamChannelResponse.- Returns:
- An immutable instance of O365TeamChannelResponse
- Throws:
IllegalStateException- if any required attributes are missing
-