Class ImmutableO365TeamPostResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamPostResponse.Builder
- Enclosing class:
- ImmutableO365TeamPostResponse
@Generated(from="O365TeamPostResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365TeamPostResponse.Builder
extends Object
Builds instances of type
ImmutableO365TeamPostResponse.
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 TypeMethodDescriptionInitializes the value for theauthorattribute.build()Builds a newImmutableO365TeamPostResponse.createdTime(Instant createdTime) Initializes the value for thecreatedTimeattribute.from(O365TeamItemResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamItemResponseinstance.from(O365TeamPostResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamPostResponseinstance.important(boolean important) Initializes the value for theimportantattribute.lastModificationTime(Instant lastModificationTime) Initializes the value for thelastModificationTimeattribute.Initializes the value for thenativeIdattribute.Initializes the value for thesubjectattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder from(O365TeamPostResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamPostResponseinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder from(O365TeamItemResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamItemResponseinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
nativeId
Initializes the value for thenativeIdattribute.- Parameters:
nativeId- The value for nativeId- Returns:
thisbuilder for use in a chained invocation
-
author
Initializes the value for theauthorattribute.- Parameters:
author- The value for author- Returns:
thisbuilder for use in a chained invocation
-
important
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder important(boolean important) Initializes the value for theimportantattribute.- Parameters:
important- The value for important- Returns:
thisbuilder for use in a chained invocation
-
subject
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder subject(@Nullable String subject) Initializes the value for thesubjectattribute.- Parameters:
subject- The value for subject (can benull)- Returns:
thisbuilder for use in a chained invocation
-
createdTime
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder createdTime(Instant createdTime) Initializes the value for thecreatedTimeattribute.- Parameters:
createdTime- The value for createdTime- Returns:
thisbuilder for use in a chained invocation
-
lastModificationTime
@CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder lastModificationTime(Instant lastModificationTime) Initializes the value for thelastModificationTimeattribute.- Parameters:
lastModificationTime- The value for lastModificationTime- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365TeamPostResponse.- Returns:
- An immutable instance of O365TeamPostResponse
- Throws:
IllegalStateException- if any required attributes are missing
-