Package org.stellar.sdk.operations
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
clearFlags
(Integer clearFlags) Indicates which flags to clear.highThreshold
(Integer highThreshold) A number from 0-255 representing the threshold this account sets on all operations it performs that have a high threshold.homeDomain
(String homeDomain) The home domain of an account.inflationDestination
(String inflationDestination) Account of the inflation destination.lowThreshold
(Integer lowThreshold) A number from 0-255 representing the threshold this account sets on all operations it performs that have a low threshold.masterKeyWeight
(Integer masterKeyWeight) Weight of the master key.mediumThreshold
(Integer mediumThreshold) A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.Indicates which flags to set.Additional signer added/removed in this operation.signerWeight
(Integer signerWeight) Additional signer weight.toString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
SetOptionsOperationBuilder
public SetOptionsOperationBuilder()
-
-
Method Details
-
inflationDestination
Account of the inflation destination.- Returns:
this
.
-
clearFlags
Indicates which flags to clear. For details about the flags, please refer to the accounts doc. You can also useAccountFlag
enum.- Returns:
this
.
-
setFlags
Indicates which flags to set. For details about the flags, please refer to the accounts doc. You can also useAccountFlag
enum.- Returns:
this
.
-
masterKeyWeight
Weight of the master key.- Returns:
this
.
-
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
A number from 0-255 representing the threshold this account sets on all operations it performs that have a medium threshold.- Returns:
this
.
-
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
The home domain of an account.- Returns:
this
.
-
signer
Additional signer added/removed in this operation.- Returns:
this
.
-
signerWeight
Additional signer weight. The signer is deleted if the weight is 0.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends SetOptionsOperation,
B extends SetOptionsOperation.SetOptionsOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends SetOptionsOperation,
B extends SetOptionsOperation.SetOptionsOperationBuilder<C, B>>
-