Class SetOptionsOperation.SetOptionsOperationBuilder<C extends SetOptionsOperation,B extends SetOptionsOperation.SetOptionsOperationBuilder<C,B>>

java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.SetOptionsOperation.SetOptionsOperationBuilder<C,B>
Enclosing class:
SetOptionsOperation

public abstract static class SetOptionsOperation.SetOptionsOperationBuilder<C extends SetOptionsOperation,B extends SetOptionsOperation.SetOptionsOperationBuilder<C,B>> extends Operation.OperationBuilder<C,B>
  • Constructor Details

    • SetOptionsOperationBuilder

      public SetOptionsOperationBuilder()
  • Method Details

    • inflationDestination

      public B inflationDestination(@Nullable String inflationDestination)
      Account of the inflation destination.
      Returns:
      this.
    • clearFlags

      public B clearFlags(@Nullable Integer clearFlags)
      Indicates which flags to clear. For details about the flags, please refer to the accounts doc. You can also use AccountFlag enum.
      Returns:
      this.
    • setFlags

      public B setFlags(@Nullable Integer setFlags)
      Indicates which flags to set. For details about the flags, please refer to the accounts doc. You can also use AccountFlag enum.
      Returns:
      this.
    • masterKeyWeight

      public B masterKeyWeight(@Nullable Integer masterKeyWeight)
      Weight of the master key.
      Returns:
      this.
    • lowThreshold

      public B lowThreshold(@Nullable Integer lowThreshold)
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold.
      Returns:
      this.
    • mediumThreshold

      public B mediumThreshold(@Nullable Integer mediumThreshold)
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.
      Returns:
      this.
    • highThreshold

      public B highThreshold(@Nullable Integer highThreshold)
      A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold.
      Returns:
      this.
    • homeDomain

      public B homeDomain(@Nullable String homeDomain)
      The home domain of an account.
      Returns:
      this.
    • signer

      public B signer(@Nullable SignerKey signer)
      Additional signer added/removed in this operation.
      Returns:
      this.
    • signerWeight

      public B signerWeight(@Nullable Integer signerWeight)
      Additional signer weight. The signer is deleted if the weight is 0.
      Returns:
      this.
    • build

      public abstract C build()
      Specified by:
      build in class Operation.OperationBuilder<C extends SetOptionsOperation,B extends SetOptionsOperation.SetOptionsOperationBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Operation.OperationBuilder<C extends SetOptionsOperation,B extends SetOptionsOperation.SetOptionsOperationBuilder<C,B>>