@NotThreadSafe public static final class ImmutableO365TeamResponse.Builder extends Object
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.
| Modifier and Type | Method and Description |
|---|---|
ImmutableO365TeamResponse.Builder |
backedUp(boolean backedUp)
Initializes the value for the
backedUp attribute. |
ImmutableO365TeamResponse |
build()
Builds a new
ImmutableO365TeamResponse. |
ImmutableO365TeamResponse.Builder |
description(Optional<String> description)
Initializes the optional value
description to description. |
ImmutableO365TeamResponse.Builder |
description(String description)
Initializes the optional value
description to description. |
ImmutableO365TeamResponse.Builder |
displayName(String displayName)
Initializes the value for the
displayName attribute. |
ImmutableO365TeamResponse.Builder |
from(O365TeamResponse instance)
Fill a builder with attribute values from the provided
O365TeamResponse instance. |
ImmutableO365TeamResponse.Builder |
mail(Optional<String> mail)
Initializes the optional value
mail to mail. |
ImmutableO365TeamResponse.Builder |
mail(String mail)
Initializes the optional value
mail to mail. |
ImmutableO365TeamResponse.Builder |
nativeId(String nativeId)
Initializes the value for the
nativeId attribute. |
ImmutableO365TeamResponse.Builder |
organizationUuid(Optional<String> organizationUuid)
Initializes the optional value
organizationUuid to organizationUuid. |
ImmutableO365TeamResponse.Builder |
organizationUuid(String organizationUuid)
Initializes the optional value
organizationUuid to organizationUuid. |
public final ImmutableO365TeamResponse.Builder from(O365TeamResponse instance)
O365TeamResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder description(String description)
description to description.description - The value for descriptionthis builder for chained invocationpublic final ImmutableO365TeamResponse.Builder description(Optional<String> description)
description to description.description - The value for descriptionthis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder displayName(String displayName)
displayName attribute.displayName - The value for displayNamethis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder mail(String mail)
mail to mail.mail - The value for mailthis builder for chained invocationpublic final ImmutableO365TeamResponse.Builder mail(Optional<String> mail)
mail to mail.mail - The value for mailthis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder organizationUuid(String organizationUuid)
organizationUuid to organizationUuid.organizationUuid - The value for organizationUuidthis builder for chained invocationpublic final ImmutableO365TeamResponse.Builder organizationUuid(Optional<String> organizationUuid)
organizationUuid to organizationUuid.organizationUuid - The value for organizationUuidthis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder backedUp(boolean backedUp)
backedUp attribute.backedUp - The value for backedUpthis builder for use in a chained invocationpublic final ImmutableO365TeamResponse.Builder nativeId(String nativeId)
nativeId attribute.nativeId - The value for nativeIdthis builder for use in a chained invocationpublic ImmutableO365TeamResponse build()
ImmutableO365TeamResponse.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.