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 Details

    • from

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder from(O365TeamFileResponse instance)
      Fill a builder with attribute values from the provided com.iland.core.web.rest.response.vbo.O365TeamFileResponse instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder from(O365TeamItemResponse instance)
      Fill a builder with attribute values from the provided com.iland.core.web.rest.response.vbo.O365TeamItemResponse instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • nativeId

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder nativeId(String nativeId)
      Initializes the value for the nativeId attribute.
      Parameters:
      nativeId - The value for nativeId
      Returns:
      this builder for use in a chained invocation
    • name

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder name(String name)
      Initializes the value for the name attribute.
      Parameters:
      name - The value for name
      Returns:
      this builder for use in a chained invocation
    • sizeBytes

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder sizeBytes(long sizeBytes)
      Initializes the value for the sizeBytes attribute.
      Parameters:
      sizeBytes - The value for sizeBytes
      Returns:
      this builder for use in a chained invocation
    • version

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder version(String version)
      Initializes the value for the version attribute.
      Parameters:
      version - The value for version
      Returns:
      this builder for use in a chained invocation
    • modifiedBy

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder modifiedBy(String modifiedBy)
      Initializes the value for the modifiedBy attribute.
      Parameters:
      modifiedBy - The value for modifiedBy
      Returns:
      this builder for use in a chained invocation
    • modified

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder modified(Instant modified)
      Initializes the value for the modified attribute.
      Parameters:
      modified - The value for modified
      Returns:
      this builder for use in a chained invocation
    • parentId

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder parentId(String parentId)
      Initializes the optional value parentId to parentId.
      Parameters:
      parentId - The value for parentId
      Returns:
      this builder for chained invocation
    • parentId

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder parentId(Optional<String> parentId)
      Initializes the optional value parentId to parentId.
      Parameters:
      parentId - The value for parentId
      Returns:
      this builder for use in a chained invocation
    • type

      @CanIgnoreReturnValue public final ImmutableO365TeamFileResponse.Builder type(String type)
      Initializes the value for the type attribute.
      Parameters:
      type - The value for type
      Returns:
      this builder for use in a chained invocation
    • build

      Returns:
      An immutable instance of O365TeamFileResponse
      Throws:
      IllegalStateException - if any required attributes are missing