Package org.stellar.sdk
Class RevokeTrustlineSponsorshipOperation.Builder
java.lang.Object
org.stellar.sdk.RevokeTrustlineSponsorshipOperation.Builder
- Enclosing class:
RevokeTrustlineSponsorshipOperation
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(String accountId, TrustLineAsset asset) Creates a new RevokeTrustlineSponsorshipOperation builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an operationsetSourceAccount(@NonNull String sourceAccount) Sets the source account for this operation.
-
Constructor Details
-
Builder
Creates a new RevokeTrustlineSponsorshipOperation builder.- Parameters:
accountId- The id of the account whose trustline will be revoked.asset- The asset of the trustline which will be revoked.
-
-
Method Details
-
setSourceAccount
public RevokeTrustlineSponsorshipOperation.Builder setSourceAccount(@NonNull @NonNull String sourceAccount) Sets the source account for this operation.- Parameters:
sourceAccount- The operation's source account.- Returns:
- Builder object so you can chain methods.
-
build
Builds an operation
-