@NotThreadSafe public static final class ImmutableO365TeamPostResponse.Builder extends Object
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.
Modifier and Type | Method and Description |
---|---|
ImmutableO365TeamPostResponse.Builder |
author(String author)
Initializes the value for the
author attribute. |
ImmutableO365TeamPostResponse |
build()
Builds a new
ImmutableO365TeamPostResponse . |
ImmutableO365TeamPostResponse.Builder |
createdTime(Instant createdTime)
Initializes the value for the
createdTime attribute. |
ImmutableO365TeamPostResponse.Builder |
from(O365TeamItemResponse instance)
Fill a builder with attribute values from the provided
com.iland.core.web.rest.response.vbo.O365TeamItemResponse instance. |
ImmutableO365TeamPostResponse.Builder |
from(O365TeamPostResponse instance)
Fill a builder with attribute values from the provided
com.iland.core.web.rest.response.vbo.O365TeamPostResponse instance. |
ImmutableO365TeamPostResponse.Builder |
important(boolean important)
Initializes the value for the
important attribute. |
ImmutableO365TeamPostResponse.Builder |
lastModificationTime(Instant lastModificationTime)
Initializes the value for the
lastModificationTime attribute. |
ImmutableO365TeamPostResponse.Builder |
nativeId(String nativeId)
Initializes the value for the
nativeId attribute. |
ImmutableO365TeamPostResponse.Builder |
subject(String subject)
Initializes the value for the
subject attribute. |
public final ImmutableO365TeamPostResponse.Builder from(O365TeamPostResponse instance)
com.iland.core.web.rest.response.vbo.O365TeamPostResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder from(O365TeamItemResponse instance)
com.iland.core.web.rest.response.vbo.O365TeamItemResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder nativeId(String nativeId)
nativeId
attribute.nativeId
- The value for nativeIdthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder author(String author)
author
attribute.author
- The value for authorthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder important(boolean important)
important
attribute.important
- The value for importantthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder subject(String subject)
subject
attribute.subject
- The value for subjectthis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder createdTime(Instant createdTime)
createdTime
attribute.createdTime
- The value for createdTimethis
builder for use in a chained invocationpublic final ImmutableO365TeamPostResponse.Builder lastModificationTime(Instant lastModificationTime)
lastModificationTime
attribute.lastModificationTime
- The value for lastModificationTimethis
builder for use in a chained invocationpublic ImmutableO365TeamPostResponse build()
ImmutableO365TeamPostResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.