public static final class ImmutableMyFfbResponse.Builder extends Object
ImmutableMyFfbResponse.
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 |
|---|---|
ImmutableMyFfbResponse.Builder |
addAllDepots(Iterable<? extends FfbDepotInfo> elements)
Adds elements to
depots list. |
ImmutableMyFfbResponse.Builder |
addDepots(FfbDepotInfo... elements)
Adds elements to
depots list. |
ImmutableMyFfbResponse.Builder |
addDepots(FfbDepotInfo element)
Adds one element to
depots list. |
ImmutableMyFfbResponse |
build()
Builds a new
ImmutableMyFfbResponse. |
ImmutableMyFfbResponse.Builder |
depots(Iterable<? extends FfbDepotInfo> elements)
Sets or replaces all elements for
depots list. |
ImmutableMyFfbResponse.Builder |
from(MyFfbResponse instance)
Fill a builder with attribute values from the provided
MyFfbResponse instance. |
ImmutableMyFfbResponse.Builder |
gesamtwert(BigDecimal gesamtwert)
Initializes the value for the
gesamtwert attribute. |
ImmutableMyFfbResponse.Builder |
isLoggedIn(boolean isLoggedIn)
Initializes the value for the
isLoggedIn attribute. |
ImmutableMyFfbResponse.Builder |
isModelportfolio(boolean isModelportfolio)
Initializes the value for the
isModelportfolio attribute. |
ImmutableMyFfbResponse.Builder |
letztesUpdate(java.time.LocalDate letztesUpdate)
Initializes the value for the
letztesUpdate attribute. |
@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder from(MyFfbResponse instance)
MyFfbResponse instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder isLoggedIn(boolean isLoggedIn)
isLoggedIn attribute.isLoggedIn - The value for isLoggedInthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder isModelportfolio(boolean isModelportfolio)
isModelportfolio attribute.isModelportfolio - The value for isModelportfoliothis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder letztesUpdate(java.time.LocalDate letztesUpdate)
letztesUpdate attribute.letztesUpdate - The value for letztesUpdatethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder gesamtwert(BigDecimal gesamtwert)
gesamtwert attribute.gesamtwert - The value for gesamtwertthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder addDepots(FfbDepotInfo element)
depots list.element - A depots elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder addDepots(FfbDepotInfo... elements)
depots list.elements - An array of depots elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder depots(Iterable<? extends FfbDepotInfo> elements)
depots list.elements - An iterable of depots elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableMyFfbResponse.Builder addAllDepots(Iterable<? extends FfbDepotInfo> elements)
depots list.elements - An iterable of depots elementsthis builder for use in a chained invocationpublic ImmutableMyFfbResponse build()
ImmutableMyFfbResponse.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.