Class ImmutableO365TeamFileResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamFileResponse.Builder
- Enclosing class:
- ImmutableO365TeamFileResponse
@Generated(from="O365TeamFileResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365TeamFileResponse.Builder
extends Object
Builds instances of type
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.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableO365TeamFileResponse.from(O365TeamFileResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamFileResponseinstance.from(O365TeamItemResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamItemResponseinstance.Initializes the value for themodifiedattribute.modifiedBy(String modifiedBy) Initializes the value for themodifiedByattribute.Initializes the value for thenameattribute.Initializes the value for thenativeIdattribute.Initializes the optional valueparentIdto parentId.Initializes the optional valueparentIdto parentId.sizeBytes(long sizeBytes) Initializes the value for thesizeBytesattribute.Initializes the value for thetypeattribute.Initializes the value for theversionattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder from(O365TeamFileResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamFileResponseinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.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
-
name
Initializes the value for thenameattribute.- Parameters:
name- The value for name- Returns:
thisbuilder for use in a chained invocation
-
sizeBytes
Initializes the value for thesizeBytesattribute.- Parameters:
sizeBytes- The value for sizeBytes- Returns:
thisbuilder for use in a chained invocation
-
version
Initializes the value for theversionattribute.- Parameters:
version- The value for version- Returns:
thisbuilder for use in a chained invocation
-
modifiedBy
@CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder modifiedBy(String modifiedBy) Initializes the value for themodifiedByattribute.- Parameters:
modifiedBy- The value for modifiedBy- Returns:
thisbuilder for use in a chained invocation
-
modified
Initializes the value for themodifiedattribute.- Parameters:
modified- The value for modified- Returns:
thisbuilder for use in a chained invocation
-
parentId
Initializes the optional valueparentIdto parentId.- Parameters:
parentId- The value for parentId- Returns:
thisbuilder for chained invocation
-
parentId
@CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder parentId(Optional<String> parentId) Initializes the optional valueparentIdto parentId.- Parameters:
parentId- The value for parentId- Returns:
thisbuilder for use in a chained invocation
-
type
Initializes the value for thetypeattribute.- Parameters:
type- The value for type- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365TeamFileResponse.- Returns:
- An immutable instance of O365TeamFileResponse
- Throws:
IllegalStateException- if any required attributes are missing
-