public static final class ImmutableFfbFondsbestand.Builder extends Object
ImmutableFfbFondsbestand.
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 |
|---|---|
ImmutableFfbFondsbestand.Builder |
benchmarkName(String benchmarkName)
Initializes the value for the
benchmarkName attribute. |
ImmutableFfbFondsbestand.Builder |
bestandStueckzahl(BigDecimal bestandStueckzahl)
Initializes the value for the
bestandStueckzahl attribute. |
ImmutableFfbFondsbestand.Builder |
bestandWertInEuro(BigDecimal bestandWertInEuro)
Initializes the value for the
bestandWertInEuro attribute. |
ImmutableFfbFondsbestand.Builder |
bestandWertInFondswaehrung(BigDecimal bestandWertInFondswaehrung)
Initializes the value for the
bestandWertInFondswaehrung attribute. |
ImmutableFfbFondsbestand |
build()
Builds a new
ImmutableFfbFondsbestand. |
ImmutableFfbFondsbestand.Builder |
fondsname(String fondsname)
Initializes the value for the
fondsname attribute. |
ImmutableFfbFondsbestand.Builder |
fondswaehrung(String fondswaehrung)
Initializes the value for the
fondswaehrung attribute. |
ImmutableFfbFondsbestand.Builder |
from(FfbFondsbestand instance)
Fill a builder with attribute values from the provided
FfbFondsbestand instance. |
ImmutableFfbFondsbestand.Builder |
isin(String isin)
Initializes the value for the
isin attribute. |
ImmutableFfbFondsbestand.Builder |
preisDatum(java.time.LocalDate preisDatum)
Initializes the value for the
preisDatum attribute. |
ImmutableFfbFondsbestand.Builder |
ruecknahmePreis(BigDecimal ruecknahmePreis)
Initializes the value for the
ruecknahmePreis attribute. |
ImmutableFfbFondsbestand.Builder |
wkn(String wkn)
Initializes the value for the
wkn attribute. |
@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder from(FfbFondsbestand instance)
FfbFondsbestand 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 invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder wkn(String wkn)
wkn attribute.wkn - The value for wknthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder isin(String isin)
isin attribute.isin - The value for isinthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder fondsname(String fondsname)
fondsname attribute.fondsname - The value for fondsnamethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder fondswaehrung(String fondswaehrung)
fondswaehrung attribute.fondswaehrung - The value for fondswaehrungthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder bestandStueckzahl(BigDecimal bestandStueckzahl)
bestandStueckzahl attribute.bestandStueckzahl - The value for bestandStueckzahlthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder bestandWertInFondswaehrung(BigDecimal bestandWertInFondswaehrung)
bestandWertInFondswaehrung attribute.bestandWertInFondswaehrung - The value for bestandWertInFondswaehrungthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder bestandWertInEuro(BigDecimal bestandWertInEuro)
bestandWertInEuro attribute.bestandWertInEuro - The value for bestandWertInEurothis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder ruecknahmePreis(BigDecimal ruecknahmePreis)
ruecknahmePreis attribute.ruecknahmePreis - The value for ruecknahmePreisthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder preisDatum(java.time.LocalDate preisDatum)
preisDatum attribute.preisDatum - The value for preisDatumthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbFondsbestand.Builder benchmarkName(String benchmarkName)
benchmarkName attribute.benchmarkName - The value for benchmarkNamethis builder for use in a chained invocationpublic ImmutableFfbFondsbestand build()
ImmutableFfbFondsbestand.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.