@NotThreadSafe public static final class ImmutableO365TeamFileResponse.Builder extends Object
ImmutableO365TeamFileResponse
.
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 |
---|---|
ImmutableO365TeamFileResponse |
build()
Builds a new
ImmutableO365TeamFileResponse . |
ImmutableO365TeamFileResponse.Builder |
from(O365TeamFileResponse instance)
Fill a builder with attribute values from the provided
com.iland.core.web.rest.response.vbo.O365TeamFileResponse instance. |
ImmutableO365TeamFileResponse.Builder |
from(O365TeamItemResponse instance)
Fill a builder with attribute values from the provided
com.iland.core.web.rest.response.vbo.O365TeamItemResponse instance. |
ImmutableO365TeamFileResponse.Builder |
modified(Instant modified)
Initializes the value for the
modified attribute. |
ImmutableO365TeamFileResponse.Builder |
modifiedBy(String modifiedBy)
Initializes the value for the
modifiedBy attribute. |
ImmutableO365TeamFileResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
ImmutableO365TeamFileResponse.Builder |
nativeId(String nativeId)
Initializes the value for the
nativeId attribute. |
ImmutableO365TeamFileResponse.Builder |
parentId(Optional<String> parentId)
Initializes the optional value
parentId to parentId. |
ImmutableO365TeamFileResponse.Builder |
parentId(String parentId)
Initializes the optional value
parentId to parentId. |
ImmutableO365TeamFileResponse.Builder |
sizeBytes(long sizeBytes)
Initializes the value for the
sizeBytes attribute. |
ImmutableO365TeamFileResponse.Builder |
type(String type)
Initializes the value for the
type attribute. |
ImmutableO365TeamFileResponse.Builder |
version(String version)
Initializes the value for the
version attribute. |
public final ImmutableO365TeamFileResponse.Builder from(O365TeamFileResponse instance)
com.iland.core.web.rest.response.vbo.O365TeamFileResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.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 ImmutableO365TeamFileResponse.Builder nativeId(String nativeId)
nativeId
attribute.nativeId
- The value for nativeIdthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder name(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder sizeBytes(long sizeBytes)
sizeBytes
attribute.sizeBytes
- The value for sizeBytesthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder version(String version)
version
attribute.version
- The value for versionthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder modifiedBy(String modifiedBy)
modifiedBy
attribute.modifiedBy
- The value for modifiedBythis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder modified(Instant modified)
modified
attribute.modified
- The value for modifiedthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder parentId(String parentId)
parentId
to parentId.parentId
- The value for parentIdthis
builder for chained invocationpublic final ImmutableO365TeamFileResponse.Builder parentId(Optional<String> parentId)
parentId
to parentId.parentId
- The value for parentIdthis
builder for use in a chained invocationpublic final ImmutableO365TeamFileResponse.Builder type(String type)
type
attribute.type
- The value for typethis
builder for use in a chained invocationpublic ImmutableO365TeamFileResponse build()
ImmutableO365TeamFileResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.