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 Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableO365TeamTabResponse.contentUrl(String contentUrl) Initializes the value for thecontentUrlattribute.displayName(String displayName) Initializes the optional valuedisplayNameto displayName.displayName(Optional<String> displayName) Initializes the optional valuedisplayNameto displayName.from(O365TeamItemResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamItemResponseinstance.from(O365TeamTabResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamTabResponseinstance.Initializes the value for thenativeIdattribute.Initializes the value for thetypeattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.Builder from(O365TeamTabResponse instance) Fill a builder with attribute values from the providedcom.iland.core.web.rest.response.vbo.O365TeamTabResponseinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.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
-
displayName
@CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.Builder displayName(String displayName) Initializes the optional valuedisplayNameto displayName.- Parameters:
displayName- The value for displayName- Returns:
thisbuilder for chained invocation
-
displayName
@CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.Builder displayName(Optional<String> displayName) Initializes the optional valuedisplayNameto displayName.- Parameters:
displayName- The value for displayName- Returns:
thisbuilder for use in a chained invocation
-
contentUrl
@CanIgnoreReturnValue public final ImmutableO365TeamTabResponse.Builder contentUrl(String contentUrl) Initializes the value for thecontentUrlattribute.- Parameters:
contentUrl- The value for contentUrl- 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 newImmutableO365TeamTabResponse.- Returns:
- An immutable instance of O365TeamTabResponse
- Throws:
IllegalStateException- if any required attributes are missing
-