Class Address.Builder
java.lang.Object
org.xrpl.xrpl4j.model.transactions.Address.Builder
- Enclosing class:
Address
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newAddress.final Address.BuilderFill a builder with attribute values from the providedAddressinstance.final Address.BuilderInitializes the value for thevalueattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedAddressinstance. 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
-
value
Initializes the value for thevalueattribute.- Parameters:
value- The value for value- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newAddress.- Returns:
- An immutable instance of Address
- Throws:
IllegalStateException- if any required attributes are missing
-