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 Details

    • from

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

      @CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.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 ImmutableO365TeamPostResponse.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
    • author

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

      @CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder important(boolean important)
      Initializes the value for the important attribute.
      Parameters:
      important - The value for important
      Returns:
      this builder for use in a chained invocation
    • subject

      @CanIgnoreReturnValue public final ImmutableO365TeamPostResponse.Builder subject(@Nullable String subject)
      Initializes the value for the subject attribute.
      Parameters:
      subject - The value for subject (can be null)
      Returns:
      this builder for use in a chained invocation
    • createdTime

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

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

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