Package org.xrpl.xrpl4j.model.ledger
Class ImmutableXChainCreateAccountAttestation
java.lang.Object
org.xrpl.xrpl4j.model.ledger.ImmutableXChainCreateAccountAttestation
- All Implemented Interfaces:
XChainCreateAccountAttestation
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableXChainCreateAccountAttestation
extends Object
implements XChainCreateAccountAttestation
Immutable implementation of
XChainCreateAccountAttestation.
Use the builder to create immutable instances:
ImmutableXChainCreateAccountAttestation.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableXChainCreateAccountAttestation. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableXChainCreateAccountAttestation.copyOf(XChainCreateAccountAttestation instance) Creates an immutable copy of aXChainCreateAccountAttestationvalue.booleanThis instance is equal to all instances ofImmutableXChainCreateAccountAttestationthat have equal attribute values.inthashCode()Computes a hash code from attributes:xChainCreateAccountProofSig.toString()Prints the immutable valueXChainCreateAccountAttestationwith attribute values.Copy the current immutable object by setting a value for thexChainCreateAccountProofSigattribute.
-
Method Details
-
xChainCreateAccountProofSig
- Specified by:
xChainCreateAccountProofSigin interfaceXChainCreateAccountAttestation- Returns:
- An
XChainCreateAccountProofSig.
-
withXChainCreateAccountProofSig
public final ImmutableXChainCreateAccountAttestation withXChainCreateAccountProofSig(XChainCreateAccountProofSig value) Copy the current immutable object by setting a value for thexChainCreateAccountProofSigattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for xChainCreateAccountProofSig- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableXChainCreateAccountAttestationthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:xChainCreateAccountProofSig. -
toString
Prints the immutable valueXChainCreateAccountAttestationwith attribute values. -
copyOf
public static ImmutableXChainCreateAccountAttestation copyOf(XChainCreateAccountAttestation instance) Creates an immutable copy of aXChainCreateAccountAttestationvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable XChainCreateAccountAttestation instance
-
builder
Creates a builder forImmutableXChainCreateAccountAttestation.ImmutableXChainCreateAccountAttestation.builder() .xChainCreateAccountProofSig(org.xrpl.xrpl4j.model.ledger.XChainCreateAccountProofSig) // requiredxChainCreateAccountProofSig.build();- Returns:
- A new ImmutableXChainCreateAccountAttestation builder
-