Class ImmutableO365TeamTabResponse.Builder

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamTabResponse.Builder
Enclosing class:
ImmutableO365TeamTabResponse

@Generated(from="O365TeamTabResponse", generator="Immutables") @NotThreadSafe public static final class ImmutableO365TeamTabResponse.Builder extends Object
Builds instances of type ImmutableO365TeamTabResponse. 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 ImmutableO365TeamTabResponse.Builder from(O365TeamTabResponse instance)
      Fill a builder with attribute values from the provided com.iland.core.web.rest.response.vbo.O365TeamTabResponse instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      @CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.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 ImmutableO365TeamTabResponse.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
    • displayName

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

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

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

      @CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.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 O365TeamTabResponse
      Throws:
      IllegalStateException - if any required attributes are missing