Class XAddress.Builder
java.lang.Object
org.xrpl.xrpl4j.model.transactions.XAddress.Builder
- Enclosing class:
XAddress
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newXAddress.final XAddress.BuilderFill a builder with attribute values from the providedXAddressinstance.final XAddress.BuilderInitializes the value for thevalueattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedXAddressinstance. 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 newXAddress.- Returns:
- An immutable instance of XAddress
- Throws:
IllegalStateException- if any required attributes are missing
-