Package org.stellar.sdk.operations
Class SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C extends SetTrustlineFlagsOperation,B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C,B>
- Enclosing class:
SetTrustlineFlagsOperation
public abstract static class SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C extends SetTrustlineFlagsOperation,B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe asset trustline whose flags are being modified.abstract C
build()
clearFlags
(@NonNull EnumSet<TrustLineFlags> clearFlags) One or more flags (combined via bitwise OR) indicating which flags to clear.setFlags
(@NonNull EnumSet<TrustLineFlags> setFlags) One or more flags (combined via bitwise-OR) indicating which flags to set.toString()
The account owning of the trustline.Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
SetTrustlineFlagsOperationBuilder
public SetTrustlineFlagsOperationBuilder()
-
-
Method Details
-
trustor
The account owning of the trustline.- Returns:
this
.
-
asset
The asset trustline whose flags are being modified.- Returns:
this
.
-
setFlags
One or more flags (combined via bitwise-OR) indicating which flags to set.- Returns:
this
.
-
clearFlags
One or more flags (combined via bitwise OR) indicating which flags to clear.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends SetTrustlineFlagsOperation,
B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends SetTrustlineFlagsOperation,
B extends SetTrustlineFlagsOperation.SetTrustlineFlagsOperationBuilder<C, B>>
-