Class ImmutableO365TeamResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamResponse.Builder
- Enclosing class:
- ImmutableO365TeamResponse
@Generated(from="O365TeamResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365TeamResponse.Builder
extends Object
Builds instances of type
ImmutableO365TeamResponse.
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 TypeMethodDescriptionbackedUp(boolean backedUp) Initializes the value for thebackedUpattribute.build()Builds a newImmutableO365TeamResponse.description(String description) Initializes the optional valuedescriptionto description.description(Optional<String> description) Initializes the optional valuedescriptionto description.displayName(String displayName) Initializes the value for thedisplayNameattribute.from(O365TeamResponse instance) Fill a builder with attribute values from the providedO365TeamResponseinstance.Initializes the optional valuemailto mail.Initializes the optional valuemailto mail.Initializes the value for thenativeIdattribute.organizationUuid(String organizationUuid) Initializes the optional valueorganizationUuidto organizationUuid.organizationUuid(Optional<String> organizationUuid) Initializes the optional valueorganizationUuidto organizationUuid.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder from(O365TeamResponse instance) Fill a builder with attribute values from the providedO365TeamResponseinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
description
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder description(String description) Initializes the optional valuedescriptionto description.- Parameters:
description- The value for description- Returns:
thisbuilder for chained invocation
-
description
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder description(Optional<String> description) Initializes the optional valuedescriptionto description.- Parameters:
description- The value for description- Returns:
thisbuilder for use in a chained invocation
-
displayName
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder displayName(String displayName) Initializes the value for thedisplayNameattribute.- Parameters:
displayName- The value for displayName- Returns:
thisbuilder for use in a chained invocation
-
mail
Initializes the optional valuemailto mail.- Parameters:
mail- The value for mail- Returns:
thisbuilder for chained invocation
-
mail
Initializes the optional valuemailto mail.- Parameters:
mail- The value for mail- Returns:
thisbuilder for use in a chained invocation
-
organizationUuid
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder organizationUuid(String organizationUuid) Initializes the optional valueorganizationUuidto organizationUuid.- Parameters:
organizationUuid- The value for organizationUuid- Returns:
thisbuilder for chained invocation
-
organizationUuid
@CanIgnoreReturnValue public final ImmutableO365TeamResponse.Builder organizationUuid(Optional<String> organizationUuid) Initializes the optional valueorganizationUuidto organizationUuid.- Parameters:
organizationUuid- The value for organizationUuid- Returns:
thisbuilder for use in a chained invocation
-
backedUp
Initializes the value for thebackedUpattribute.- Parameters:
backedUp- The value for backedUp- 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
-
build
Builds a newImmutableO365TeamResponse.- Returns:
- An immutable instance of O365TeamResponse
- Throws:
IllegalStateException- if any required attributes are missing
-