public static final class ImmutableFfbDisposition.Builder extends Object
ImmutableFfbDisposition.
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 |
|---|---|
ImmutableFfbDisposition.Builder |
auftragtyp(String auftragtyp)
Initializes the value for the
auftragtyp attribute. |
ImmutableFfbDisposition.Builder |
betrag(BigDecimal betrag)
Initializes the value for the
betrag attribute. |
ImmutableFfbDisposition |
build()
Builds a new
ImmutableFfbDisposition. |
ImmutableFfbDisposition.Builder |
depot(String depot)
Initializes the value for the
depot attribute. |
ImmutableFfbDisposition.Builder |
eingabedatum(java.time.LocalDate eingabedatum)
Initializes the value for the
eingabedatum attribute. |
ImmutableFfbDisposition.Builder |
fondsname(String fondsname)
Initializes the value for the
fondsname attribute. |
ImmutableFfbDisposition.Builder |
from(FfbDisposition instance)
Fill a builder with attribute values from the provided
FfbDisposition instance. |
ImmutableFfbDisposition.Builder |
isin(String isin)
Initializes the value for the
isin attribute. |
ImmutableFfbDisposition.Builder |
kagName(String kagName)
Initializes the value for the
kagName attribute. |
ImmutableFfbDisposition.Builder |
rabatt(BigDecimal rabatt)
Initializes the optional value
rabatt to rabatt. |
ImmutableFfbDisposition.Builder |
rabatt(Optional<? extends BigDecimal> rabatt)
Initializes the optional value
rabatt to rabatt. |
ImmutableFfbDisposition.Builder |
stuecke(BigDecimal stuecke)
Initializes the value for the
stuecke attribute. |
ImmutableFfbDisposition.Builder |
teilauftragtyp(String teilauftragtyp)
Initializes the value for the
teilauftragtyp attribute. |
ImmutableFfbDisposition.Builder |
verrechnungskonto(String verrechnungskonto)
Initializes the value for the
verrechnungskonto attribute. |
ImmutableFfbDisposition.Builder |
wkn(String wkn)
Initializes the value for the
wkn attribute. |
@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder from(FfbDisposition instance)
FfbDisposition 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 ImmutableFfbDisposition.Builder depot(String depot)
depot attribute.depot - The value for depotthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder fondsname(String fondsname)
fondsname attribute.fondsname - The value for fondsnamethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder isin(String isin)
isin attribute.isin - The value for isinthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder wkn(String wkn)
wkn attribute.wkn - The value for wknthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder kagName(String kagName)
kagName attribute.kagName - The value for kagNamethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder auftragtyp(String auftragtyp)
auftragtyp attribute.auftragtyp - The value for auftragtypthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder teilauftragtyp(String teilauftragtyp)
teilauftragtyp attribute.teilauftragtyp - The value for teilauftragtypthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder eingabedatum(java.time.LocalDate eingabedatum)
eingabedatum attribute.eingabedatum - The value for eingabedatumthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder verrechnungskonto(String verrechnungskonto)
verrechnungskonto attribute.verrechnungskonto - The value for verrechnungskontothis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder betrag(BigDecimal betrag)
betrag attribute.betrag - The value for betragthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder stuecke(BigDecimal stuecke)
stuecke attribute.stuecke - The value for stueckethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder rabatt(BigDecimal rabatt)
rabatt to rabatt.rabatt - The value for rabattthis builder for chained invocation@CanIgnoreReturnValue public final ImmutableFfbDisposition.Builder rabatt(Optional<? extends BigDecimal> rabatt)
rabatt to rabatt.rabatt - The value for rabattthis builder for use in a chained invocationpublic ImmutableFfbDisposition build()
ImmutableFfbDisposition.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.