Class SCAddress.SCAddressBuilder

java.lang.Object
org.stellar.sdk.xdr.SCAddress.SCAddressBuilder
Enclosing class:
SCAddress

public static class SCAddress.SCAddressBuilder extends Object
  • Method Details

    • discriminant

      public SCAddress.SCAddressBuilder discriminant(SCAddressType discriminant)
      Value of the discriminant field.
      Parameters:
      discriminant - the discriminant field value
      Returns:
      this.
    • accountId

      public SCAddress.SCAddressBuilder accountId(AccountID accountId)
      Value of the accountId field.
      Parameters:
      accountId - the accountId field value
      Returns:
      this.
    • contractId

      public SCAddress.SCAddressBuilder contractId(ContractID contractId)
      Value of the contractId field.
      Parameters:
      contractId - the contractId field value
      Returns:
      this.
    • muxedAccount

      public SCAddress.SCAddressBuilder muxedAccount(MuxedEd25519Account muxedAccount)
      Value of the muxedAccount field.
      Parameters:
      muxedAccount - the muxedAccount field value
      Returns:
      this.
    • claimableBalanceId

      public SCAddress.SCAddressBuilder claimableBalanceId(ClaimableBalanceID claimableBalanceId)
      Value of the claimableBalanceId field.
      Parameters:
      claimableBalanceId - the claimableBalanceId field value
      Returns:
      this.
    • liquidityPoolId

      public SCAddress.SCAddressBuilder liquidityPoolId(PoolID liquidityPoolId)
      Value of the liquidityPoolId field.
      Parameters:
      liquidityPoolId - the liquidityPoolId field value
      Returns:
      this.
    • muxedContract

      public SCAddress.SCAddressBuilder muxedContract(MuxedContract muxedContract)
      Value of the muxedContract field.
      Parameters:
      muxedContract - the muxedContract field value
      Returns:
      this.
    • build

      public SCAddress build()
    • toString

      public String toString()
      Overrides:
      toString in class Object